Struct DesugaringErrors

Source
pub struct DesugaringErrors(/* private fields */);

Implementations§

Trait Implementations§

Source§

impl Debug for DesugaringErrors

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DesugaringErrors

Source§

fn default() -> DesugaringErrors

Returns the “default value” for a type. Read more
Source§

impl From<DesugaringErrors> for Vec<DesugaringError>

Source§

fn from(item: DesugaringErrors) -> Vec<DesugaringError>

Converts to this type from the input type.
Source§

impl FromIterator<DesugaringError> for DesugaringErrors

Source§

fn from_iter<I: IntoIterator<Item = DesugaringError>>(iter: I) -> Self

Creates a value from an iterator. Read more
Source§

impl Index<usize> for DesugaringErrors

Source§

type Output = DesugaringError

The returned type after indexing.
Source§

fn index(&self, idx: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl IntoIterator for DesugaringErrors

Source§

type Item = DesugaringError

The type of the elements being iterated over.
Source§

type IntoIter = IntoIter<<DesugaringErrors as IntoIterator>::Item>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl Stream<DesugaringError> for DesugaringErrors

Source§

fn payload(self) -> Vec<DesugaringError>

Source§

fn ref_payload(&self) -> &Vec<DesugaringError>

Source§

fn ref_mut_payload(&mut self) -> &mut Vec<DesugaringError>

Source§

fn clear(&mut self)

Source§

fn len(&self) -> usize

Source§

fn size(&self) -> usize

Source§

fn is_empty(&self) -> bool

Source§

fn insert(&mut self, idx: usize, elem: T)

Source§

fn remove(&mut self, idx: usize) -> T

Source§

fn push(&mut self, elem: T)

Source§

fn append<S>(&mut self, s: &mut S)
where S: Stream<T>,

Source§

fn pop(&mut self) -> Option<T>

Source§

fn lpop(&mut self) -> Option<T>

Source§

fn get(&self, idx: usize) -> Option<&T>

Source§

fn get_mut(&mut self, idx: usize) -> Option<&mut T>

Source§

fn first(&self) -> Option<&T>

Source§

fn first_mut(&mut self) -> Option<&mut T>

Source§

fn last(&self) -> Option<&T>

Source§

fn last_mut(&mut self) -> Option<&mut T>

Source§

fn iter(&self) -> Iter<'_, T>

Source§

fn iter_mut(&mut self) -> IterMut<'_, T>

Source§

fn take_all(&mut self) -> Vec<T>

Source§

fn extend<I>(&mut self, iter: I)
where I: IntoIterator<Item = T>,

Source§

fn split_off(&mut self, at: usize) -> Vec<T>

Source§

fn retain(&mut self, f: impl FnMut(&T) -> bool)

Remove all elements that don’t satisfy the predicate.
Source§

fn concat(self, other: Self) -> Self

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.