pub struct TextAlign2D { /* private fields */ }
Expand description
Two-dimensional text align, used by Sprite
and AnimatedSprite
Implementations§
Trait Implementations§
Source§impl Clone for TextAlign2D
impl Clone for TextAlign2D
Source§fn clone(&self) -> TextAlign2D
fn clone(&self) -> TextAlign2D
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 TextAlign2D
impl Debug for TextAlign2D
Source§impl Default for TextAlign2D
impl Default for TextAlign2D
impl Copy for TextAlign2D
Auto Trait Implementations§
impl Freeze for TextAlign2D
impl RefUnwindSafe for TextAlign2D
impl Send for TextAlign2D
impl Sync for TextAlign2D
impl Unpin for TextAlign2D
impl UnwindSafe for TextAlign2D
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