pub struct RuleListing<'a> { /* private fields */ }Implementations§
Source§impl<'a> RuleListing<'a>
impl<'a> RuleListing<'a>
pub fn new(explanations: &'a [RuleExplanation]) -> Self
pub fn render(&self, format: OutputFormat) -> String
Auto Trait Implementations§
impl<'a> Freeze for RuleListing<'a>
impl<'a> RefUnwindSafe for RuleListing<'a>
impl<'a> Send for RuleListing<'a>
impl<'a> Sync for RuleListing<'a>
impl<'a> Unpin for RuleListing<'a>
impl<'a> UnsafeUnpin for RuleListing<'a>
impl<'a> UnwindSafe for RuleListing<'a>
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