pub enum TextureSize {
Auto,
Fixed {
width: usize,
height: usize,
},
}
Variants§
Trait Implementations§
Source§impl Clone for TextureSize
impl Clone for TextureSize
Source§fn clone(&self) -> TextureSize
fn clone(&self) -> TextureSize
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 moreAuto Trait Implementations§
impl Freeze for TextureSize
impl RefUnwindSafe for TextureSize
impl Send for TextureSize
impl Sync for TextureSize
impl Unpin for TextureSize
impl UnwindSafe for TextureSize
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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