pub struct ObjectSet {
pub values: Vec<ObjectSetValue>,
pub extensible: Option<usize>,
}
Fields§
§values: Vec<ObjectSetValue>
§extensible: Option<usize>
Implementations§
source§impl ObjectSet
impl ObjectSet
pub fn link_object_set_reference( &mut self, tlds: &BTreeMap<String, ToplevelDefinition>, ) -> bool
pub fn references_object_set_by_name(&self) -> bool
pub fn resolve_object_set_references( &mut self, tlds: &BTreeMap<String, ToplevelDefinition>, ) -> Result<(), GrammarError>
Trait Implementations§
source§impl From<(Vec<ObjectSetValue>, Option<ExtensionMarker>, Option<Vec<ObjectSetValue>>)> for ObjectSet
impl From<(Vec<ObjectSetValue>, Option<ExtensionMarker>, Option<Vec<ObjectSetValue>>)> for ObjectSet
source§fn from(
value: (Vec<ObjectSetValue>, Option<ExtensionMarker>, Option<Vec<ObjectSetValue>>),
) -> Self
fn from( value: (Vec<ObjectSetValue>, Option<ExtensionMarker>, Option<Vec<ObjectSetValue>>), ) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ObjectSet
Auto Trait Implementations§
impl Freeze for ObjectSet
impl RefUnwindSafe for ObjectSet
impl Send for ObjectSet
impl Sync for ObjectSet
impl Unpin for ObjectSet
impl UnwindSafe for ObjectSet
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)