pub struct TextInterval {
pub start: usize,
pub stop: usize,
}Fields§
§start: usize§stop: usizeImplementations§
Trait Implementations§
Source§impl Clone for TextInterval
impl Clone for TextInterval
Source§fn clone(&self) -> TextInterval
fn clone(&self) -> TextInterval
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextInterval
Source§impl Debug for TextInterval
impl Debug for TextInterval
impl Eq for TextInterval
Source§impl PartialEq for TextInterval
impl PartialEq for TextInterval
impl StructuralPartialEq for TextInterval
Auto Trait Implementations§
impl Freeze for TextInterval
impl RefUnwindSafe for TextInterval
impl Send for TextInterval
impl Sync for TextInterval
impl Unpin for TextInterval
impl UnsafeUnpin for TextInterval
impl UnwindSafe for TextInterval
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