pub struct DefinitionType { /* private fields */ }
Implementations§
Source§impl DefinitionType
impl DefinitionType
pub fn new(path: DocumentPath, ctx: &Context<'_>) -> Result<Self, Error>
pub fn build( _: &mut State, path: DocumentPath, ctx: &Context<'_>, ) -> Result<Box<dyn Attribute>, Error>
pub fn allowed_types() -> HashSet<AllowedType>
Trait Implementations§
Source§impl Attribute for DefinitionType
impl Attribute for DefinitionType
Auto Trait Implementations§
impl Freeze for DefinitionType
impl RefUnwindSafe for DefinitionType
impl Send for DefinitionType
impl Sync for DefinitionType
impl Unpin for DefinitionType
impl UnwindSafe for DefinitionType
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