pub struct DisplayDirective {
pub intent: Option<String>,
pub interpolated_intent: Option<String>,
pub label: Option<String>,
pub skip: Option<DisplaySkip>,
pub flatten: Option<bool>,
pub flatten_prefix: Option<String>,
pub number_display: Option<NumberDisplayNode>,
}Fields§
§intent: Option<String>§interpolated_intent: Option<String>§label: Option<String>§skip: Option<DisplaySkip>§flatten: Option<bool>§flatten_prefix: Option<String>§number_display: Option<NumberDisplayNode>Implementations§
Trait Implementations§
Source§impl Clone for DisplayDirective
impl Clone for DisplayDirective
Source§fn clone(&self) -> DisplayDirective
fn clone(&self) -> DisplayDirective
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 moreSource§impl Debug for DisplayDirective
impl Debug for DisplayDirective
Source§impl Default for DisplayDirective
impl Default for DisplayDirective
Source§fn default() -> DisplayDirective
fn default() -> DisplayDirective
Returns the “default value” for a type. Read more
Source§impl From<DisplayDirective> for CodamaDirective
impl From<DisplayDirective> for CodamaDirective
Source§fn from(value: DisplayDirective) -> Self
fn from(value: DisplayDirective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DisplayDirective
impl PartialEq for DisplayDirective
impl StructuralPartialEq for DisplayDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a DisplayDirective
impl<'a> TryFrom<&'a Attribute<'a>> for &'a DisplayDirective
Source§impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a DisplayDirective
impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a DisplayDirective
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for DisplayDirective
impl RefUnwindSafe for DisplayDirective
impl Send for DisplayDirective
impl Sync for DisplayDirective
impl Unpin for DisplayDirective
impl UnsafeUnpin for DisplayDirective
impl UnwindSafe for DisplayDirective
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