pub struct SchemaVisitor { /* private fields */ }
Implementations§
Source§impl SchemaVisitor
impl SchemaVisitor
pub fn get_reference<T: Schemaifier>(&self) -> Option<DefinitionReference>
pub fn get_schema<T: Schemaifier>(&self) -> Option<&Node>
pub fn insert(&mut self, id: Identifier, node: Node) -> DefinitionReference
pub fn reserve_spot(&mut self, id: Identifier) -> DefinitionReference
Trait Implementations§
Source§impl Default for SchemaVisitor
impl Default for SchemaVisitor
Source§fn default() -> SchemaVisitor
fn default() -> SchemaVisitor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchemaVisitor
impl RefUnwindSafe for SchemaVisitor
impl Send for SchemaVisitor
impl Sync for SchemaVisitor
impl Unpin for SchemaVisitor
impl UnwindSafe for SchemaVisitor
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