Enum hyper_scripter::list::DisplayStyle
source · pub enum DisplayStyle<T, U> {
Short(DisplayIdentStyle, U),
Long(T),
}Variants§
Short(DisplayIdentStyle, U)
Long(T)
Trait Implementations§
source§impl<T: PartialEq, U: PartialEq> PartialEq<DisplayStyle<T, U>> for DisplayStyle<T, U>
impl<T: PartialEq, U: PartialEq> PartialEq<DisplayStyle<T, U>> for DisplayStyle<T, U>
source§fn eq(&self, other: &DisplayStyle<T, U>) -> bool
fn eq(&self, other: &DisplayStyle<T, U>) -> bool
impl<T: Eq, U: Eq> Eq for DisplayStyle<T, U>
impl<T, U> StructuralEq for DisplayStyle<T, U>
impl<T, U> StructuralPartialEq for DisplayStyle<T, U>
Auto Trait Implementations§
impl<T, U> RefUnwindSafe for DisplayStyle<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for DisplayStyle<T, U>where
T: Send,
U: Send,
impl<T, U> Sync for DisplayStyle<T, U>where
T: Sync,
U: Sync,
impl<T, U> Unpin for DisplayStyle<T, U>where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for DisplayStyle<T, U>where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.