pub struct DesugaringErrors(/* private fields */);
Implementations§
Source§impl DesugaringErrors
impl DesugaringErrors
pub const fn new(v: Vec<DesugaringError>) -> DesugaringErrors
pub const fn empty() -> DesugaringErrors
pub fn with_capacity(capacity: usize) -> DesugaringErrors
Source§impl DesugaringErrors
impl DesugaringErrors
pub fn iter(&self) -> Iter<'_, DesugaringError>
pub fn iter_mut(&mut self) -> IterMut<'_, DesugaringError>
Trait Implementations§
Source§impl Debug for DesugaringErrors
impl Debug for DesugaringErrors
Source§impl Default for DesugaringErrors
impl Default for DesugaringErrors
Source§fn default() -> DesugaringErrors
fn default() -> DesugaringErrors
Returns the “default value” for a type. Read more
Source§impl From<DesugaringErrors> for Vec<DesugaringError>
impl From<DesugaringErrors> for Vec<DesugaringError>
Source§fn from(item: DesugaringErrors) -> Vec<DesugaringError>
fn from(item: DesugaringErrors) -> Vec<DesugaringError>
Converts to this type from the input type.
Source§impl FromIterator<DesugaringError> for DesugaringErrors
impl FromIterator<DesugaringError> for DesugaringErrors
Source§fn from_iter<I: IntoIterator<Item = DesugaringError>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = DesugaringError>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl Index<usize> for DesugaringErrors
impl Index<usize> for DesugaringErrors
Source§impl IntoIterator for DesugaringErrors
impl IntoIterator for DesugaringErrors
Source§impl Stream<DesugaringError> for DesugaringErrors
impl Stream<DesugaringError> for DesugaringErrors
fn payload(self) -> Vec<DesugaringError>
fn ref_payload(&self) -> &Vec<DesugaringError>
fn ref_mut_payload(&mut self) -> &mut Vec<DesugaringError>
fn clear(&mut self)
fn len(&self) -> usize
fn size(&self) -> usize
fn is_empty(&self) -> bool
fn insert(&mut self, idx: usize, elem: T)
fn remove(&mut self, idx: usize) -> T
fn push(&mut self, elem: T)
fn append<S>(&mut self, s: &mut S)where
S: Stream<T>,
fn pop(&mut self) -> Option<T>
fn lpop(&mut self) -> Option<T>
fn get(&self, idx: usize) -> Option<&T>
fn get_mut(&mut self, idx: usize) -> Option<&mut T>
fn first(&self) -> Option<&T>
fn first_mut(&mut self) -> Option<&mut T>
fn last(&self) -> Option<&T>
fn last_mut(&mut self) -> Option<&mut T>
fn iter(&self) -> Iter<'_, T>
fn iter_mut(&mut self) -> IterMut<'_, T>
fn take_all(&mut self) -> Vec<T>
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = T>,
fn split_off(&mut self, at: usize) -> Vec<T>
Source§fn retain(&mut self, f: impl FnMut(&T) -> bool)
fn retain(&mut self, f: impl FnMut(&T) -> bool)
Remove all elements that don’t satisfy the predicate.
fn concat(self, other: Self) -> Self
Auto Trait Implementations§
impl Freeze for DesugaringErrors
impl RefUnwindSafe for DesugaringErrors
impl Send for DesugaringErrors
impl Sync for DesugaringErrors
impl Unpin for DesugaringErrors
impl UnwindSafe for DesugaringErrors
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