pub struct Transform2D { /* private fields */ }Implementations§
Source§impl Transform2D
impl Transform2D
pub fn get_offset(&self) -> &Point2DType
pub fn get_offset_mut(&mut self) -> &mut Point2DType
pub fn set_offset(&mut self, value: Point2DType)
pub fn get_extents(&self) -> &PositiveSize2DType
pub fn get_extents_mut(&mut self) -> &mut PositiveSize2DType
pub fn set_extents(&mut self, value: PositiveSize2DType)
pub fn get_child_offset(&self) -> Option<&Point2DType>
pub fn get_child_offset_mut(&mut self) -> Option<&mut Point2DType>
pub fn set_child_offset(&mut self, value: Point2DType)
pub fn get_child_extents(&self) -> Option<&PositiveSize2DType>
pub fn get_child_extents_mut(&mut self) -> Option<&mut PositiveSize2DType>
pub fn set_child_extents(&mut self, value: PositiveSize2DType)
pub fn get_rot(&self) -> Option<&str>
pub fn set_rot<S: Into<String>>(&mut self, value: S)
pub fn get_flip_v(&self) -> Option<&str>
pub fn set_flip_v<S: Into<String>>(&mut self, value: S)
pub fn get_flip_h(&self) -> Option<&str>
pub fn set_flip_h<S: Into<String>>(&mut self, value: S)
Trait Implementations§
Source§impl Clone for Transform2D
impl Clone for Transform2D
Source§fn clone(&self) -> Transform2D
fn clone(&self) -> Transform2D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Transform2D
impl Debug for Transform2D
Source§impl Default for Transform2D
impl Default for Transform2D
Source§fn default() -> Transform2D
fn default() -> Transform2D
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Transform2D
impl RefUnwindSafe for Transform2D
impl Send for Transform2D
impl Sync for Transform2D
impl Unpin for Transform2D
impl UnwindSafe for Transform2D
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