Enum webrender_api::display_item::RepeatMode
source · #[repr(u8)]pub enum RepeatMode {
Stretch = 0,
Repeat = 1,
Round = 2,
Space = 3,
}
Variants§
Trait Implementations§
source§impl Clone for RepeatMode
impl Clone for RepeatMode
source§fn clone(&self) -> RepeatMode
fn clone(&self) -> RepeatMode
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 RepeatMode
impl Debug for RepeatMode
source§impl Default for RepeatMode
impl Default for RepeatMode
source§impl<'de> Deserialize<'de> for RepeatMode
impl<'de> Deserialize<'de> for RepeatMode
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 RepeatMode
impl Hash for RepeatMode
source§impl MallocSizeOf for RepeatMode
impl MallocSizeOf for RepeatMode
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 PartialEq for RepeatMode
impl PartialEq for RepeatMode
source§fn eq(&self, other: &RepeatMode) -> bool
fn eq(&self, other: &RepeatMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for RepeatMode
impl Peek for RepeatMode
source§impl Poke for RepeatMode
impl Poke for RepeatMode
source§impl Serialize for RepeatMode
impl Serialize for RepeatMode
impl Copy for RepeatMode
impl Eq for RepeatMode
impl StructuralPartialEq for RepeatMode
Auto Trait Implementations§
impl Freeze for RepeatMode
impl RefUnwindSafe for RepeatMode
impl Send for RepeatMode
impl Sync for RepeatMode
impl Unpin for RepeatMode
impl UnwindSafe for RepeatMode
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