pub struct Transform { /* private fields */ }Implementations§
Source§impl Transform
impl Transform
pub fn get_offset(&self) -> &Offset
pub fn get_offset_mut(&mut self) -> &mut Offset
pub fn set_offset(&mut self, value: Offset) -> &mut Transform
pub fn get_extents(&self) -> &Extents
pub fn get_extents_mut(&mut self) -> &mut Extents
pub fn set_extents(&mut self, value: Extents) -> &mut Transform
pub fn get_rotation(&self) -> &i32
pub fn set_rotation(&mut self, value: i32)
pub fn get_vertical_flip(&self) -> &bool
pub fn set_vertical_flip(&mut self, value: bool)
pub fn get_horizontal_flip(&self) -> &bool
pub fn set_horizontal_flip(&mut self, value: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more