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