Enum capnpc::codegen::FormattedText
source · pub enum FormattedText {
Indent(Box<FormattedText>),
Branch(Vec<FormattedText>),
Line(String),
BlankLine,
}
Variants
Indent(Box<FormattedText>)
Branch(Vec<FormattedText>)
Line(String)
BlankLine
Trait Implementations
sourceimpl Clone for FormattedText
impl Clone for FormattedText
sourcefn clone(&self) -> FormattedText
fn clone(&self) -> FormattedText
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl PartialEq<FormattedText> for FormattedText
impl PartialEq<FormattedText> for FormattedText
sourcefn eq(&self, other: &FormattedText) -> bool
fn eq(&self, other: &FormattedText) -> bool
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
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