pub struct GroupInfo {
pub any: Option<AnyInfo>,
pub elements: ElementsInfo,
}Expand description
Represents a group of elements.
This is usually a xs:all, xs:choice or xs:sequence.
Fields§
§any: Option<AnyInfo>If this group accepts any other element, that is not defined by this group,
this field contains the information for these elements, otherwise it is
set to None.
elements: ElementsInfoList of elements defined in this group.
Trait Implementations§
Source§impl TypeEq for GroupInfo
impl TypeEq for GroupInfo
Source§fn type_hash<H: Hasher>(&self, hasher: &mut H, types: &Types)
fn type_hash<H: Hasher>(&self, hasher: &mut H, types: &Types)
Feeds this value into the given
Hasher.Source§fn type_eq(&self, other: &Self, types: &Types) -> bool
fn type_eq(&self, other: &Self, types: &Types) -> bool
Check if this instance is equal to the
other instance using the passed
types to resolve identifiers.Source§fn type_hash_slice<H: Hasher>(slice: &[Self], hasher: &mut H, types: &Types)
fn type_hash_slice<H: Hasher>(slice: &[Self], hasher: &mut H, types: &Types)
Feeds a slice of this value into the given
Hasher.Source§fn type_eq_iter<'a, X, Y>(x: X, y: Y, types: &Types) -> boolwhere
Self: 'a,
X: IntoIterator<Item = &'a Self>,
Y: IntoIterator<Item = &'a Self>,
fn type_eq_iter<'a, X, Y>(x: X, y: Y, types: &Types) -> boolwhere
Self: 'a,
X: IntoIterator<Item = &'a Self>,
Y: IntoIterator<Item = &'a Self>,
Check if the two passed iterators contain type equal elements.
Auto Trait Implementations§
impl Freeze for GroupInfo
impl RefUnwindSafe for GroupInfo
impl Send for GroupInfo
impl Sync for GroupInfo
impl Unpin for GroupInfo
impl UnwindSafe for GroupInfo
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