pub struct Section { /* private fields */ }Implementations§
Source§impl Section
impl Section
pub const fn new(name: &'static str, location: Location, level: Level) -> Self
pub const fn set_parent(self, parent: &'static Section) -> Self
pub fn name(&self) -> &'static str
pub fn location(&self) -> &Location
pub fn level(&self) -> Level
pub fn parent(&self) -> Option<&'static Section>
pub fn get_id(&'static self) -> &'static NonZeroU32
pub fn enter<'a, const N: usize>( &'static self, fields: FieldSet<'a, N>, ) -> Entered<'a, N>
Auto Trait Implementations§
impl !Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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