pub enum FillCode {
Fil,
Fill,
Filll,
}Expand description
Positively silly enum, but it solves all kinds of issues with the Glue struct most importantly allows us to keep deriving the Copy trait, and avoids storing strings in Glue objects
Variants§
Implementations§
Trait Implementations§
impl Copy for FillCode
impl Eq for FillCode
Source§impl Ord for FillCode
impl Ord for FillCode
1.21.0 (const: unstable) · 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 PartialOrd for FillCode
impl PartialOrd for FillCode
impl StructuralPartialEq for FillCode
Auto Trait Implementations§
impl Freeze for FillCode
impl RefUnwindSafe for FillCode
impl Send for FillCode
impl Sync for FillCode
impl Unpin for FillCode
impl UnsafeUnpin for FillCode
impl UnwindSafe for FillCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more