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