Struct gag::Hold [−][src]
pub struct Hold { /* fields omitted */ }
Expand description
Hold output until dropped. On drop, the held output is sent to the stdout/stderr.
Note: This will ignore IO errors when printing held output.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hold
impl Send for Hold
impl Sync for Hold
impl Unpin for Hold
impl UnwindSafe for Hold
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,