Struct kodept_core::code_point::CodePoint
source · pub struct CodePoint {
pub length: usize,
pub offset: usize,
}
Fields§
§length: usize
§offset: usize
Implementations§
Trait Implementations§
source§impl Ord for CodePoint
impl Ord for CodePoint
source§impl PartialEq for CodePoint
impl PartialEq for CodePoint
source§impl PartialOrd for CodePoint
impl PartialOrd for CodePoint
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CodePoint
impl Eq for CodePoint
impl StructuralPartialEq for CodePoint
Auto Trait Implementations§
impl Freeze for CodePoint
impl RefUnwindSafe for CodePoint
impl Send for CodePoint
impl Sync for CodePoint
impl Unpin for CodePoint
impl UnwindSafe for CodePoint
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