#[repr(u8)]pub enum Boundary {
None = 0,
Word = 1,
Line = 2,
Mandatory = 3,
}
Expand description
Boundary type of a character or cluster.
Variants§
None = 0
Not a boundary.
Word = 1
Start of a word.
Line = 2
Potential line break.
Mandatory = 3
Mandatory line break.
Trait Implementations§
source§impl Ord for Boundary
impl Ord for Boundary
source§impl PartialOrd for Boundary
impl PartialOrd for Boundary
impl Copy for Boundary
impl Eq for Boundary
impl StructuralPartialEq for Boundary
Auto Trait Implementations§
impl Freeze for Boundary
impl RefUnwindSafe for Boundary
impl Send for Boundary
impl Sync for Boundary
impl Unpin for Boundary
impl UnwindSafe for Boundary
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)