Enum hyper_scripter::list::DisplayStyle
source · [−]pub enum DisplayStyle<T, U> {
Short(DisplayIdentStyle, U),
Long(T),
}
Variants
Short(DisplayIdentStyle, U)
Long(T)
Trait Implementations
sourceimpl<T: Debug, U: Debug> Debug for DisplayStyle<T, U>
impl<T: Debug, U: Debug> Debug for DisplayStyle<T, U>
sourceimpl<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>
sourcefn eq(&self, other: &DisplayStyle<T, U>) -> bool
fn eq(&self, other: &DisplayStyle<T, U>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DisplayStyle<T, U>) -> bool
fn ne(&self, other: &DisplayStyle<T, U>) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.