#[repr(u8)]pub enum ExtendMode {
Clamp = 0,
Repeat = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for ExtendMode
impl Clone for ExtendMode
Source§fn clone(&self) -> ExtendMode
fn clone(&self) -> ExtendMode
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 ExtendMode
impl Debug for ExtendMode
Source§impl Default for ExtendMode
impl Default for ExtendMode
Source§impl<'de> Deserialize<'de> for ExtendMode
impl<'de> Deserialize<'de> for ExtendMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ExtendMode
impl Hash for ExtendMode
Source§impl MallocSizeOf for ExtendMode
impl MallocSizeOf for ExtendMode
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl Ord for ExtendMode
impl Ord for ExtendMode
Source§fn cmp(&self, other: &ExtendMode) -> Ordering
fn cmp(&self, other: &ExtendMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtendMode
impl PartialEq for ExtendMode
Source§impl PartialOrd for ExtendMode
impl PartialOrd for ExtendMode
Source§impl Peek for ExtendMode
impl Peek for ExtendMode
Source§impl Poke for ExtendMode
impl Poke for ExtendMode
Source§impl Serialize for ExtendMode
impl Serialize for ExtendMode
impl Copy for ExtendMode
impl Eq for ExtendMode
impl StructuralPartialEq for ExtendMode
Auto Trait Implementations§
impl Freeze for ExtendMode
impl RefUnwindSafe for ExtendMode
impl Send for ExtendMode
impl Sync for ExtendMode
impl Unpin for ExtendMode
impl UnwindSafe for ExtendMode
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