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
Implementations§
Trait Implementations§
Source§impl<S> PartialOrd for Contents<S>where
S: Scalar + PartialOrd,
impl<S> PartialOrd for Contents<S>where
S: Scalar + PartialOrd,
impl<S> StructuralPartialEq for Contents<S>where
S: Scalar,
Auto Trait Implementations§
impl<S> Freeze for Contents<S>where
S: Freeze,
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§
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