pub enum Segment {
Text(String),
Stack(Stack),
}Expand description
a laid-out chunk of a message: literal text, or an emote stack.
Variants§
Trait Implementations§
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Forget for Segment
impl Freeze for Segment
impl Move for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segment
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