pub struct FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C>,{ /* private fields */ }Expand description
Formats the item with the specified rule.
Implementations§
Source§impl<T, R, C> FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C>,
impl<T, R, C> FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C>,
Source§impl<T, R, O, C> FormatOwnedWithRule<T, R, C>where
R: FormatRuleWithOptions<T, C, Options = O>,
impl<T, R, O, C> FormatOwnedWithRule<T, R, C>where
R: FormatRuleWithOptions<T, C, Options = O>,
pub fn with_options(self, options: O) -> Self
Trait Implementations§
Source§impl<T: Clone, R, C: Clone> Clone for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C> + Clone,
impl<T: Clone, R, C: Clone> Clone for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C> + Clone,
Source§fn clone(&self) -> FormatOwnedWithRule<T, R, C>
fn clone(&self) -> FormatOwnedWithRule<T, R, C>
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<T: Debug, R, C: Debug> Debug for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C> + Debug,
impl<T: Debug, R, C: Debug> Debug for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C> + Debug,
Source§impl<T, R, C> Format<C> for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C>,
impl<T, R, C> Format<C> for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C>,
Source§impl<T, R, C> FormatWithRule<C> for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C>,
impl<T, R, C> FormatWithRule<C> for FormatOwnedWithRule<T, R, C>where
R: FormatRule<T, C>,
Auto Trait Implementations§
impl<T, R, C> Freeze for FormatOwnedWithRule<T, R, C>
impl<T, R, C> RefUnwindSafe for FormatOwnedWithRule<T, R, C>
impl<T, R, C> Send for FormatOwnedWithRule<T, R, C>
impl<T, R, C> Sync for FormatOwnedWithRule<T, R, C>
impl<T, R, C> Unpin for FormatOwnedWithRule<T, R, C>
impl<T, R, C> UnsafeUnpin for FormatOwnedWithRule<T, R, C>where
T: UnsafeUnpin,
R: UnsafeUnpin,
impl<T, R, C> UnwindSafe for FormatOwnedWithRule<T, R, C>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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