pub struct LineRanges { /* private fields */ }
Implementations§
Source§impl LineRanges
impl LineRanges
pub fn none() -> LineRanges
pub fn all() -> LineRanges
pub fn from(ranges: Vec<LineRange>) -> LineRanges
Trait Implementations§
Source§impl Clone for LineRanges
impl Clone for LineRanges
Source§fn clone(&self) -> LineRanges
fn clone(&self) -> LineRanges
Returns a copy 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 LineRanges
impl Debug for LineRanges
Auto Trait Implementations§
impl Freeze for LineRanges
impl RefUnwindSafe for LineRanges
impl Send for LineRanges
impl Sync for LineRanges
impl Unpin for LineRanges
impl UnwindSafe for LineRanges
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