Struct erg_parser::ast::TypeBoundSpecs
source · [−]pub struct TypeBoundSpecs(_);
Implementations
sourceimpl TypeBoundSpecs
impl TypeBoundSpecs
pub const fn new(v: Vec<TypeBoundSpec>) -> TypeBoundSpecs
pub fn empty() -> TypeBoundSpecs
Trait Implementations
sourceimpl Clone for TypeBoundSpecs
impl Clone for TypeBoundSpecs
sourcefn clone(&self) -> TypeBoundSpecs
fn clone(&self) -> TypeBoundSpecs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TypeBoundSpecs
impl Debug for TypeBoundSpecs
sourceimpl Default for TypeBoundSpecs
impl Default for TypeBoundSpecs
sourceimpl Display for TypeBoundSpecs
impl Display for TypeBoundSpecs
sourceimpl From<Vec<TypeBoundSpec, Global>> for TypeBoundSpecs
impl From<Vec<TypeBoundSpec, Global>> for TypeBoundSpecs
sourcefn from(errs: Vec<TypeBoundSpec>) -> Self
fn from(errs: Vec<TypeBoundSpec>) -> Self
Converts to this type from the input type.
sourceimpl Hash for TypeBoundSpecs
impl Hash for TypeBoundSpecs
sourceimpl Index<usize> for TypeBoundSpecs
impl Index<usize> for TypeBoundSpecs
sourceimpl Locational for TypeBoundSpecs
impl Locational for TypeBoundSpecs
sourceimpl PartialEq<TypeBoundSpecs> for TypeBoundSpecs
impl PartialEq<TypeBoundSpecs> for TypeBoundSpecs
sourcefn eq(&self, other: &TypeBoundSpecs) -> bool
fn eq(&self, other: &TypeBoundSpecs) -> bool
sourceimpl Stream<TypeBoundSpec> for TypeBoundSpecs
impl Stream<TypeBoundSpec> for TypeBoundSpecs
fn payload(self) -> Vec<TypeBoundSpec>
fn ref_payload(&self) -> &Vec<TypeBoundSpec>
fn ref_mut_payload(&mut self) -> &mut Vec<TypeBoundSpec>
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 into_iter(self) -> IntoIter<T, Global>
fn take_all(&mut self) -> Vec<T, Global>
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = T>,
impl Eq for TypeBoundSpecs
impl StructuralEq for TypeBoundSpecs
impl StructuralPartialEq for TypeBoundSpecs
Auto Trait Implementations
impl RefUnwindSafe for TypeBoundSpecs
impl !Send for TypeBoundSpecs
impl !Sync for TypeBoundSpecs
impl Unpin for TypeBoundSpecs
impl UnwindSafe for TypeBoundSpecs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more