Enum capnpc::codegen::FormattedText
source · pub enum FormattedText {
Indent(Box<FormattedText>),
Branch(Vec<FormattedText>),
Line(String),
BlankLine,
}
Variants§
Trait Implementations§
source§impl Clone for FormattedText
impl Clone for FormattedText
source§fn clone(&self) -> FormattedText
fn clone(&self) -> FormattedText
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<FormattedText> for FormattedText
impl PartialEq<FormattedText> for FormattedText
source§fn eq(&self, other: &FormattedText) -> bool
fn eq(&self, other: &FormattedText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FormattedText
Auto Trait Implementations§
impl RefUnwindSafe for FormattedText
impl Send for FormattedText
impl Sync for FormattedText
impl Unpin for FormattedText
impl UnwindSafe for FormattedText
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