[−][src]Struct basic::mach::Listing
Fields
indirect_errors: Arc<Vec<Error>>
direct_errors: Arc<Vec<Error>>
Methods
impl Listing
[src]
pub fn clear(&mut self)
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn insert(&mut self, line: Line) -> Option<Line>
[src]
pub fn remove(&mut self, ln: LineNumber) -> Option<Line>
[src]
pub fn remove_range(&mut self, range: RangeInclusive<LineNumber>) -> bool
[src]
pub fn line(&self, num: usize) -> Option<(String, Vec<Range<usize>>)>
[src]
pub fn lines(&self) -> Values<LineNumber, Line>
[src]
pub fn load_str(&mut self, line: &str) -> Result<(), Error>
[src]
Used for loading a new Listing from a file.
pub fn list_line(
&self,
range: &mut RangeInclusive<LineNumber>
) -> Option<(String, Vec<Range<usize>>)>
[src]
&self,
range: &mut RangeInclusive<LineNumber>
) -> Option<(String, Vec<Range<usize>>)>
pub fn renum(
&mut self,
new_start: u16,
old_start: u16,
step: u16
) -> Result<(), Error>
[src]
&mut self,
new_start: u16,
old_start: u16,
step: u16
) -> Result<(), Error>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnwindSafe for Listing
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,