#[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§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