#[repr(u32)]pub enum TextureRectStretchMode {
ScaleOnExpand = 0,
Scale = 1,
Tile = 2,
Keep = 3,
KeepCentered = 4,
KeepAspect = 5,
KeepAspectCentered = 6,
KeepAspectCovered = 7,
}
Variants§
ScaleOnExpand = 0
Scale = 1
Tile = 2
Keep = 3
KeepCentered = 4
KeepAspect = 5
KeepAspectCentered = 6
KeepAspectCovered = 7
Trait Implementations§
Source§impl Clone for TextureRectStretchMode
impl Clone for TextureRectStretchMode
Source§fn clone(&self) -> TextureRectStretchMode
fn clone(&self) -> TextureRectStretchMode
Returns a copy 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 TextureRectStretchMode
impl Debug for TextureRectStretchMode
Source§impl Hash for TextureRectStretchMode
impl Hash for TextureRectStretchMode
Source§impl PartialEq for TextureRectStretchMode
impl PartialEq for TextureRectStretchMode
impl Copy for TextureRectStretchMode
impl Eq for TextureRectStretchMode
impl StructuralPartialEq for TextureRectStretchMode
Auto Trait Implementations§
impl Freeze for TextureRectStretchMode
impl RefUnwindSafe for TextureRectStretchMode
impl Send for TextureRectStretchMode
impl Sync for TextureRectStretchMode
impl Unpin for TextureRectStretchMode
impl UnwindSafe for TextureRectStretchMode
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