pub struct ReferOptions {
pub fill: bool,
pub strict: bool,
}Expand description
refer options.
Fields§
§fill: boolSubstitute even when the value is absent (not for self-recursion).
strict: boolA name with no define is an error, rather than a refer that does
nothing.
Trait Implementations§
Source§impl Clone for ReferOptions
impl Clone for ReferOptions
Source§fn clone(&self) -> ReferOptions
fn clone(&self) -> ReferOptions
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 ReferOptions
impl Debug for ReferOptions
Source§impl Default for ReferOptions
impl Default for ReferOptions
Source§fn default() -> ReferOptions
fn default() -> ReferOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReferOptions
impl RefUnwindSafe for ReferOptions
impl Send for ReferOptions
impl Sync for ReferOptions
impl Unpin for ReferOptions
impl UnsafeUnpin for ReferOptions
impl UnwindSafe for ReferOptions
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