Enum uiua::ReportFragment
source · pub enum ReportFragment {
Plain(String),
Colored(String),
Faint(String),
Fainter(String),
Newline,
}Expand description
A text fragment of a report
Variants§
Plain(String)
Just plain text
Colored(String)
Text colored according to the report kind
Faint(String)
Faint text
Fainter(String)
Even fainter text
Newline
A newline
Trait Implementations§
source§impl Clone for ReportFragment
impl Clone for ReportFragment
source§fn clone(&self) -> ReportFragment
fn clone(&self) -> ReportFragment
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 Debug for ReportFragment
impl Debug for ReportFragment
source§impl PartialEq for ReportFragment
impl PartialEq for ReportFragment
source§fn eq(&self, other: &ReportFragment) -> bool
fn eq(&self, other: &ReportFragment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ReportFragment
impl StructuralEq for ReportFragment
impl StructuralPartialEq for ReportFragment
Auto Trait Implementations§
impl RefUnwindSafe for ReportFragment
impl Send for ReportFragment
impl Sync for ReportFragment
impl Unpin for ReportFragment
impl UnwindSafe for ReportFragment
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more