pub struct SchemaScope { /* private fields */ }Implementations§
Source§impl SchemaScope
impl SchemaScope
pub fn new(naming_strategy: SchemaNamingStrategy) -> Self
pub fn index(&mut self, index: usize)
pub fn pop(&mut self)
pub fn reduce(&mut self, n: usize)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn property(&mut self, property: &str) -> &mut Self
pub fn entity(&mut self, title: &str)
pub fn form(&mut self, form: &str)
pub fn definition(&mut self, form: &str) -> &mut Self
pub fn reference(&mut self, reference: &str)
pub fn any(&mut self, property: &str) -> &mut Self
pub fn push_str(&mut self, name: &str, what: &str) -> &mut Self
pub fn glue(&mut self, property: &str) -> &mut Self
pub fn add_spaces(&mut self, spaces: &mut Vec<Space>) -> &mut Self
pub fn add_space(&mut self, space: Space) -> &mut Self
pub fn clear_spaces(&mut self) -> &mut Self
pub fn pop_space(&mut self) -> &mut Self
pub fn get_spaces(&mut self) -> Vec<Space>
pub fn namer(&mut self) -> BasicNamer
pub fn path(&mut self) -> String
pub fn is_ambiguous(&mut self) -> bool
pub fn recurse(&self) -> bool
Trait Implementations§
Source§impl Clone for SchemaScope
impl Clone for SchemaScope
Source§fn clone(&self) -> SchemaScope
fn clone(&self) -> SchemaScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaScope
impl Debug for SchemaScope
Source§impl Default for SchemaScope
impl Default for SchemaScope
Auto Trait Implementations§
impl Freeze for SchemaScope
impl RefUnwindSafe for SchemaScope
impl Send for SchemaScope
impl Sync for SchemaScope
impl Unpin for SchemaScope
impl UnsafeUnpin for SchemaScope
impl UnwindSafe for SchemaScope
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.