pub struct Label {
pub variable: Option<String>,
pub form: Option<String>,
pub plural: Option<String>,
pub strip_periods: Option<String>,
pub common: Common,
}Expand description
<label>: renders a term matching a variable.
Fields§
§variable: Option<String>The variable attribute. None when nested in <names> (it inherits
the parent’s variables).
form: Option<String>§plural: Option<String>§strip_periods: Option<String>§common: CommonTrait Implementations§
impl Eq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnsafeUnpin for Label
impl UnwindSafe for Label
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