pub enum Contents<S>where
S: Scalar,{
Text(String, TextFormat<S>),
}
Expand description
Possible content of a Pane
Variants
Text(String, TextFormat<S>)
Text with some format
Trait Implementations
sourceimpl<S: PartialEq> PartialEq<Contents<S>> for Contents<S>where
S: Scalar,
impl<S: PartialEq> PartialEq<Contents<S>> for Contents<S>where
S: Scalar,
sourceimpl<S: PartialOrd> PartialOrd<Contents<S>> for Contents<S>where
S: Scalar,
impl<S: PartialOrd> PartialOrd<Contents<S>> for Contents<S>where
S: Scalar,
sourcefn partial_cmp(&self, other: &Contents<S>) -> Option<Ordering>
fn partial_cmp(&self, other: &Contents<S>) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<S> StructuralPartialEq for Contents<S>where
S: Scalar,
Auto Trait Implementations
impl<S> RefUnwindSafe for Contents<S>where
S: RefUnwindSafe,
impl<S> Send for Contents<S>where
S: Send,
impl<S> Sync for Contents<S>where
S: Sync,
impl<S> Unpin for Contents<S>where
S: Unpin,
impl<S> UnwindSafe for Contents<S>where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.