pub struct DeclarationView(/* private fields */);Implementations§
Source§impl DeclarationView
impl DeclarationView
pub fn decode(bytes: &[u8]) -> Result<Self>
pub fn prefix_count(&self) -> u64
pub fn prefix_rows(&self, bytes: &[u8]) -> Result<Vec<(u64, String)>>
pub fn image_rows(&self, bytes: &[u8]) -> Result<Images>
pub fn binding(&self) -> Binding
pub fn catalog_lengths(&self, class: usize) -> Result<Vec<u64>>
pub fn verify_slice( &self, class: usize, index: usize, bytes: &[u8], ) -> Result<()>
pub fn catalog(&self, class: usize, bytes: &[u8]) -> Result<CatalogView>
pub fn artifacts(&self, catalog: Option<&CatalogView>) -> Vec<ArtifactView>
Auto Trait Implementations§
impl Freeze for DeclarationView
impl RefUnwindSafe for DeclarationView
impl Send for DeclarationView
impl Sync for DeclarationView
impl Unpin for DeclarationView
impl UnsafeUnpin for DeclarationView
impl UnwindSafe for DeclarationView
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