pub struct TitleLevel<'a> { /* private fields */ }Expand description
Internal representation of a title level for FFI.
This enables flexible title creation:
.with_title(Level::Error, "message")- standard level.with_title("Note", "message")- custom level name
Trait Implementations§
Source§impl<'a> From<&'a str> for TitleLevel<'a>
Custom level: string name
impl<'a> From<&'a str> for TitleLevel<'a>
Custom level: string name
Auto Trait Implementations§
impl<'a> Freeze for TitleLevel<'a>
impl<'a> RefUnwindSafe for TitleLevel<'a>
impl<'a> !Send for TitleLevel<'a>
impl<'a> !Sync for TitleLevel<'a>
impl<'a> Unpin for TitleLevel<'a>
impl<'a> UnwindSafe for TitleLevel<'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