pub enum TruncSide {
Left,
Right,
}
Expand description
Type which used for defining truncation side in the VariableOutputCore
trait.
Variants
Left
Truncate left side, i.e. &out[..n]
.
Right
Truncate right side, i.e. &out[m..]
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TruncSide
impl Send for TruncSide
impl Sync for TruncSide
impl Unpin for TruncSide
impl UnwindSafe for TruncSide
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more