Struct biome_formatter::FormatOwnedWithRule
source · pub struct FormatOwnedWithRule<T, R>where
R: FormatRule<T>,{ /* private fields */ }
Expand description
Formats the item
with the specified rule.
Implementations§
source§impl<T, R> FormatOwnedWithRule<T, R>where
R: FormatRule<T>,
impl<T, R> FormatOwnedWithRule<T, R>where
R: FormatRule<T>,
source§impl<T, R, O> FormatOwnedWithRule<T, R>where
R: FormatRuleWithOptions<T, Options = O>,
impl<T, R, O> FormatOwnedWithRule<T, R>where
R: FormatRuleWithOptions<T, Options = O>,
pub fn with_options(self, options: O) -> Self
Trait Implementations§
source§impl<T: Clone, R> Clone for FormatOwnedWithRule<T, R>where
R: FormatRule<T> + Clone,
impl<T: Clone, R> Clone for FormatOwnedWithRule<T, R>where
R: FormatRule<T> + Clone,
source§fn clone(&self) -> FormatOwnedWithRule<T, R>
fn clone(&self) -> FormatOwnedWithRule<T, R>
Returns a copy 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<T: Debug, R> Debug for FormatOwnedWithRule<T, R>where
R: FormatRule<T> + Debug,
impl<T: Debug, R> Debug for FormatOwnedWithRule<T, R>where
R: FormatRule<T> + Debug,
source§impl<T, R> Format<<R as FormatRule<T>>::Context> for FormatOwnedWithRule<T, R>where
R: FormatRule<T>,
impl<T, R> Format<<R as FormatRule<T>>::Context> for FormatOwnedWithRule<T, R>where
R: FormatRule<T>,
source§impl<T, R> FormatWithRule<<R as FormatRule<T>>::Context> for FormatOwnedWithRule<T, R>where
R: FormatRule<T>,
impl<T, R> FormatWithRule<<R as FormatRule<T>>::Context> for FormatOwnedWithRule<T, R>where
R: FormatRule<T>,
Auto Trait Implementations§
impl<T, R> Freeze for FormatOwnedWithRule<T, R>
impl<T, R> RefUnwindSafe for FormatOwnedWithRule<T, R>where
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, R> Send for FormatOwnedWithRule<T, R>
impl<T, R> Sync for FormatOwnedWithRule<T, R>
impl<T, R> Unpin for FormatOwnedWithRule<T, R>
impl<T, R> UnwindSafe for FormatOwnedWithRule<T, R>where
R: UnwindSafe,
T: UnwindSafe,
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