pub struct ExpansionOptions {
pub expand_strings: bool,
pub expand_months: bool,
pub unresolved_variables: UnresolvedVariablePolicy,
}Expand description
Options for expanding parsed values.
Fields§
§expand_strings: boolExpand user @string definitions.
expand_months: boolExpand standard three-letter BibTeX month variables.
unresolved_variables: UnresolvedVariablePolicyBehavior when a variable cannot be resolved.
Trait Implementations§
Source§impl Clone for ExpansionOptions
impl Clone for ExpansionOptions
Source§fn clone(&self) -> ExpansionOptions
fn clone(&self) -> ExpansionOptions
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 ExpansionOptions
impl Debug for ExpansionOptions
Source§impl Default for ExpansionOptions
impl Default for ExpansionOptions
Source§impl PartialEq for ExpansionOptions
impl PartialEq for ExpansionOptions
Source§fn eq(&self, other: &ExpansionOptions) -> bool
fn eq(&self, other: &ExpansionOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExpansionOptions
impl Eq for ExpansionOptions
impl StructuralPartialEq for ExpansionOptions
Auto Trait Implementations§
impl Freeze for ExpansionOptions
impl RefUnwindSafe for ExpansionOptions
impl Send for ExpansionOptions
impl Sync for ExpansionOptions
impl Unpin for ExpansionOptions
impl UnsafeUnpin for ExpansionOptions
impl UnwindSafe for ExpansionOptions
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