pub struct MemoryBuilder { /* private fields */ }
Expand description
Builder for Memory
.
Implementations§
Source§impl MemoryBuilder
impl MemoryBuilder
pub fn name(&mut self, value: &'static str) -> &mut Self
pub fn interval(&mut self, value: Duration) -> &mut Self
pub fn waker(&mut self, value: Arc<AtomicWaker>) -> &mut Self
pub fn path(&mut self, value: String) -> &mut Self
pub fn formatter(&mut self, value: AhoCorasick) -> &mut Self
pub fn format(&mut self, value: &'static str) -> &mut Self
pub fn attrs(&mut self, value: Attrs) -> &mut Self
pub fn highlight(&mut self, value: Highlight) -> &mut Self
pub fn common(&mut self, value: PanelCommon) -> &mut Self
Trait Implementations§
Source§impl Clone for MemoryBuilder
impl Clone for MemoryBuilder
Source§fn clone(&self) -> MemoryBuilder
fn clone(&self) -> MemoryBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MemoryBuilder
impl !RefUnwindSafe for MemoryBuilder
impl !Send for MemoryBuilder
impl !Sync for MemoryBuilder
impl Unpin for MemoryBuilder
impl !UnwindSafe for MemoryBuilder
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