Enum webrender_api::ExtendMode
source · #[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§fn eq(&self, other: &ExtendMode) -> bool
fn eq(&self, other: &ExtendMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExtendMode
impl PartialOrd for ExtendMode
source§fn partial_cmp(&self, other: &ExtendMode) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtendMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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