pub struct Bind<T> {
pub slot: Slot,
pub elem: T,
}Fields§
§slot: Slot§elem: TTrait Implementations§
Source§impl<L: LanguageChildren> LanguageChildren for Bind<L>
impl<L: LanguageChildren> LanguageChildren for Bind<L>
fn all_slot_occurrences_iter_mut(&mut self) -> impl Iterator<Item = &mut Slot>
fn public_slot_occurrences_iter_mut( &mut self, ) -> impl Iterator<Item = &mut Slot>
fn applied_id_occurrences_iter_mut( &mut self, ) -> impl Iterator<Item = &mut AppliedId>
fn all_slot_occurrences_iter(&self) -> impl Iterator<Item = &Slot>
fn public_slot_occurrences_iter(&self) -> impl Iterator<Item = &Slot>
fn applied_id_occurrences_iter(&self) -> impl Iterator<Item = &AppliedId>
fn to_syntax(&self) -> Vec<SyntaxElem>
fn from_syntax(elems: &[SyntaxElem]) -> Option<Self>
fn weak_shape_impl(&mut self, m: &mut (SlotMap, u32))
Source§impl<T: Ord> Ord for Bind<T>
impl<T: Ord> Ord for Bind<T>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for Bind<T>
impl<T: PartialOrd> PartialOrd for Bind<T>
impl<T: Eq> Eq for Bind<T>
impl<T> StructuralPartialEq for Bind<T>
Auto Trait Implementations§
impl<T> Freeze for Bind<T>where
T: Freeze,
impl<T> RefUnwindSafe for Bind<T>where
T: RefUnwindSafe,
impl<T> Send for Bind<T>where
T: Send,
impl<T> Sync for Bind<T>where
T: Sync,
impl<T> Unpin for Bind<T>where
T: Unpin,
impl<T> UnsafeUnpin for Bind<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Bind<T>where
T: UnwindSafe,
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