pub struct StaticComponentDescriber { /* private fields */ }Implementations§
Source§impl StaticComponentDescriber
impl StaticComponentDescriber
pub fn new() -> Self
pub fn with_fallback(self, fallback_schema: ComponentSchema) -> Self
pub fn register_schema<S: Into<String>>( &mut self, component: S, schema: ComponentSchema, ) -> &mut Self
Trait Implementations§
Source§impl Clone for StaticComponentDescriber
impl Clone for StaticComponentDescriber
Source§fn clone(&self) -> StaticComponentDescriber
fn clone(&self) -> StaticComponentDescriber
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 moreSource§impl Debug for StaticComponentDescriber
impl Debug for StaticComponentDescriber
Auto Trait Implementations§
impl Freeze for StaticComponentDescriber
impl RefUnwindSafe for StaticComponentDescriber
impl Send for StaticComponentDescriber
impl Sync for StaticComponentDescriber
impl Unpin for StaticComponentDescriber
impl UnwindSafe for StaticComponentDescriber
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