pub struct DeclarationLine {
pub mark: char,
pub subject: String,
pub state: String,
}Expand description
One line of the declaration shown before anything is configurable.
Fields§
§mark: char+ for a guarantee or a safe reading, ! for something widened, # for a
section heading, for a plain fact.
subject: String§state: StringTrait Implementations§
Source§impl Clone for DeclarationLine
impl Clone for DeclarationLine
Source§fn clone(&self) -> DeclarationLine
fn clone(&self) -> DeclarationLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeclarationLine
impl RefUnwindSafe for DeclarationLine
impl Send for DeclarationLine
impl Sync for DeclarationLine
impl Unpin for DeclarationLine
impl UnsafeUnpin for DeclarationLine
impl UnwindSafe for DeclarationLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more