pub struct ExtensionValidationContext { /* private fields */ }Expand description
Narrow validation permissions granted by an extension.
Implementations§
Source§impl ExtensionValidationContext
impl ExtensionValidationContext
Sourcepub fn allow_accessor_without_buffer_view(&mut self, index: usize)
pub fn allow_accessor_without_buffer_view(&mut self, index: usize)
Allows a registered extension to omit a buffer view for one accessor.
Sourcepub fn allows_accessor_without_buffer_view(&self, index: usize) -> bool
pub fn allows_accessor_without_buffer_view(&self, index: usize) -> bool
Returns whether an accessor has received that narrow exemption.
Trait Implementations§
Source§impl Default for ExtensionValidationContext
impl Default for ExtensionValidationContext
Source§fn default() -> ExtensionValidationContext
fn default() -> ExtensionValidationContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtensionValidationContext
impl RefUnwindSafe for ExtensionValidationContext
impl Send for ExtensionValidationContext
impl Sync for ExtensionValidationContext
impl Unpin for ExtensionValidationContext
impl UnsafeUnpin for ExtensionValidationContext
impl UnwindSafe for ExtensionValidationContext
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