pub struct NumLogs<const L: usize> { /* private fields */ }
Implementations§
Source§impl<const L: usize> NumLogs<L>
impl<const L: usize> NumLogs<L>
pub fn new(title: &'static str) -> Self
pub fn get_title(&self) -> &'static str
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn clear(&mut self)
pub fn add(&mut self, n: impl IntoNumLog) -> &mut Self
pub fn push(&mut self, s: (&'static str, String)) -> &mut Self
pub fn push_arr(&mut self, arr: Vec<(&'static str, String)>) -> &mut Self
pub fn add2(&mut self, n: impl IntoNumLog, n2: impl IntoNumLog) -> &mut Self
pub fn add_whitespace(&mut self) -> &mut Self
pub fn add_k(&mut self) -> &mut Self
pub fn add_arr<const ARR_LEN: usize, T: IntoNumLog>( &mut self, s_arr: [T; ARR_LEN], ) -> &mut Self
pub fn add_vec<T: IntoNumLog>(&mut self, s_arr: Vec<T>) -> &mut Self
pub fn append<const LEN: usize>(&mut self, vals: NumLogs<LEN>) -> &mut Self
Trait Implementations§
impl<const L: usize> Copy for NumLogs<L>
Auto Trait Implementations§
impl<const L: usize> Freeze for NumLogs<L>
impl<const L: usize> RefUnwindSafe for NumLogs<L>
impl<const L: usize> Send for NumLogs<L>
impl<const L: usize> Sync for NumLogs<L>
impl<const L: usize> Unpin for NumLogs<L>
impl<const L: usize> UnwindSafe for NumLogs<L>
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