pub fn rotate(&self, a: f32, axis: Axis) -> Option<Transform> {
        let enum_axis_2 = axis as u32;

        let (obj_data, funcs) = self.get_transform_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).rotate)(obj_data, a, enum_axis_2);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Transform::new_from_rc(t);
            } else {
                ret_val = Transform::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
///
/// Rotates the coordinate system counterclockwise by the given *angle*
/// about the specified *axis* and returns a reference to the matrix.
///
/// Note that if you apply a QTransform to a point defined in widget
/// coordinates, the direction of the rotation will be clockwise
/// because the y-axis points downwards.
///
/// The angle is specified in degrees.
///
/// **See also:** [`set_matrix()`]
///
/// Rotates the coordinate system counterclockwise by the given *angle*
/// about the specified *axis* and returns a reference to the matrix.
///
/// Note that if you apply a QTransform to a point defined in widget
/// coordinates, the direction of the rotation will be clockwise
/// because the y-axis points downwards.
///
/// The angle is specified in radians.
///
/// **See also:** [`set_matrix()`]
Rotates the coordinate system counterclockwise by the given *angle
about the specified *axis* and returns a reference to the matrix.

Note that if you apply a QTransform to a point defined in widget
coordinates, the direction of the rotation will be clockwise
because the y-axis points downwards.

The angle is specified in degrees.



Rotates the coordinate system counterclockwise by the given *angle
about the specified *axis* and returns a reference to the matrix.

Note that if you apply a QTransform to a point defined in widget
coordinates, the direction of the rotation will be clockwise
because the y-axis points downwards.

The angle is specified in radians.


Rotates the coordinate system counterclockwise by the given * angle about the specified * axis * and returns a reference to the matrix . Note that if you apply a QTransform to a point defined in widget coordinates the direction of the rotation will be clockwise because the y - axis points downwards . The angle is specified in degrees . Rotates the coordinate system counterclockwise by the given * angle about the specified * axis * and returns a reference to the matrix . Note that if you apply a QTransform to a point defined in widget coordinates the direction of the rotation will be clockwise because the y - axis points downwards . The angle is specified in radians .
pub fn rotate(&self, a: f32, axis: Axis) -> Option<Transform> {
        let enum_axis_2 = axis as u32;
        let (obj_data, funcs) = self.get_transform_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).rotate)(obj_data, a, enum_axis_2);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Transform::new_from_rc(t);
            } else {
                ret_val = Transform::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn rotate ( & self , a : f32 , axis : Axis ) -> Option < Transform > { let enum_axis_2 = axis as u32 ; let ( obj_data , funcs ) = self . get_transform_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . rotate ) ( obj_data , a , enum_axis_2 ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Transform :: new_from_rc ( t ) ; } else { ret_val = Transform :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Rotates the coordinate system counterclockwise by the given *angle
about the specified *axis* and returns a reference to the matrix.
Rotates the coordinate system counterclockwise by the given * angle about the specified * axis * and returns a reference to the matrix .
&self
a
f32
axis
Axis
&self
a
f32
axis
Axis