pub struct NameElement {
pub form: Option<String>,
pub options: InheritableNameOptions,
pub parts: Vec<NamePart>,
pub common: Common,
}Expand description
The <name> child of <names> (a subset of its many options).
<name> carries the same inheritable name options as <style>/<citation>/
<bibliography> (including and), retained in options.
Fields§
§form: Option<String>§options: InheritableNameOptionsName-rendering options retained for a future processor.
parts: Vec<NamePart><name-part> formatting overrides.
common: CommonTrait Implementations§
Source§impl Clone for NameElement
impl Clone for NameElement
Source§fn clone(&self) -> NameElement
fn clone(&self) -> NameElement
Returns a duplicate 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 NameElement
impl Debug for NameElement
Source§impl Default for NameElement
impl Default for NameElement
Source§fn default() -> NameElement
fn default() -> NameElement
Returns the “default value” for a type. Read more
Source§impl PartialEq for NameElement
impl PartialEq for NameElement
impl Eq for NameElement
impl StructuralPartialEq for NameElement
Auto Trait Implementations§
impl Freeze for NameElement
impl RefUnwindSafe for NameElement
impl Send for NameElement
impl Sync for NameElement
impl Unpin for NameElement
impl UnsafeUnpin for NameElement
impl UnwindSafe for NameElement
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