pub struct Transform { /* private fields */ }Implementations§
Source§impl Transform
impl Transform
pub fn offset(&self) -> &Offset
pub fn get_offset(&self) -> &Offset
👎Deprecated since 3.0.0:
Use offset()
pub fn offset_mut(&mut self) -> &mut Offset
pub fn get_offset_mut(&mut self) -> &mut Offset
👎Deprecated since 3.0.0:
Use offset_mut()
pub fn set_offset(&mut self, value: Offset) -> &mut Transform
pub fn extents(&self) -> &Extents
pub fn get_extents(&self) -> &Extents
👎Deprecated since 3.0.0:
Use extents()
pub fn extents_mut(&mut self) -> &mut Extents
pub fn get_extents_mut(&mut self) -> &mut Extents
👎Deprecated since 3.0.0:
Use extents_mut()
pub fn set_extents(&mut self, value: Extents) -> &mut Transform
pub fn rotation(&self) -> i32
pub fn get_rotation(&self) -> i32
👎Deprecated since 3.0.0:
Use rotation()
pub fn set_rotation(&mut self, value: i32)
pub fn vertical_flip(&self) -> bool
pub fn get_vertical_flip(&self) -> bool
👎Deprecated since 3.0.0:
Use vertical_flip()
pub fn set_vertical_flip(&mut self, value: bool)
pub fn horizontal_flip(&self) -> bool
pub fn get_horizontal_flip(&self) -> bool
👎Deprecated since 3.0.0:
Use horizontal_flip()
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 UnsafeUnpin 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