#[repr(u8)]pub enum BoundaryMode {
Exclude,
Include,
Extend(Extent),
}Expand description
Controls boundary inclusion in the selected range.
Variants§
Exclude
Omits the boundary from the selection.
Include
Includes the boundary in selection.
Extend(Extent)
Expands selection beyond the boundary by the specified extent.
Trait Implementations§
Source§impl Clone for BoundaryMode
impl Clone for BoundaryMode
Source§fn clone(&self) -> BoundaryMode
fn clone(&self) -> BoundaryMode
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 moreSource§impl Debug for BoundaryMode
impl Debug for BoundaryMode
Source§impl Hash for BoundaryMode
impl Hash for BoundaryMode
Source§impl PartialEq for BoundaryMode
impl PartialEq for BoundaryMode
impl Eq for BoundaryMode
impl StructuralPartialEq for BoundaryMode
Auto Trait Implementations§
impl Freeze for BoundaryMode
impl RefUnwindSafe for BoundaryMode
impl Send for BoundaryMode
impl Sync for BoundaryMode
impl Unpin for BoundaryMode
impl UnwindSafe for BoundaryMode
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