pub struct ChildrenInfo {
pub cardinality: Cardinality,
pub valid_types: Vec<NodeTypeId>,
}Expand description
Information about a node type’s children (non-field children).
Fields§
§cardinality: Cardinality§valid_types: Vec<NodeTypeId>Trait Implementations§
Source§impl Clone for ChildrenInfo
impl Clone for ChildrenInfo
Source§fn clone(&self) -> ChildrenInfo
fn clone(&self) -> ChildrenInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChildrenInfo
impl RefUnwindSafe for ChildrenInfo
impl Send for ChildrenInfo
impl Sync for ChildrenInfo
impl Unpin for ChildrenInfo
impl UnwindSafe for ChildrenInfo
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