pub enum WrappingDirection {
Wrap = 0,
Unwrap = 1,
}Expand description
Wrapping direction for buffer operations
Variants§
Wrap = 0
Wrap underlying tokens to wrapped tokens
Unwrap = 1
Unwrap wrapped tokens to underlying tokens
Trait Implementations§
Source§impl Clone for WrappingDirection
impl Clone for WrappingDirection
Source§fn clone(&self) -> WrappingDirection
fn clone(&self) -> WrappingDirection
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WrappingDirection
impl Debug for WrappingDirection
Source§impl PartialEq for WrappingDirection
impl PartialEq for WrappingDirection
impl Copy for WrappingDirection
impl Eq for WrappingDirection
impl StructuralPartialEq for WrappingDirection
Auto Trait Implementations§
impl Freeze for WrappingDirection
impl RefUnwindSafe for WrappingDirection
impl Send for WrappingDirection
impl Sync for WrappingDirection
impl Unpin for WrappingDirection
impl UnwindSafe for WrappingDirection
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)