pub trait LanguageChildren:
Debug
+ Clone
+ Hash
+ Eq {
// Required methods
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(_: &[SyntaxElem]) -> Option<Self>;
// Provided method
fn weak_shape_impl(&mut self, _m: &mut (SlotMap, u32)) { ... }
}Required Methods§
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(_: &[SyntaxElem]) -> Option<Self>
Provided Methods§
fn weak_shape_impl(&mut self, _m: &mut (SlotMap, u32))
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".