pub struct Reader<'a> { /* private fields */ }Implementations§
Source§impl<'a> Reader<'a>
impl<'a> Reader<'a>
pub fn reborrow(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_assets(self) -> Result<Reader<'a, Owned>>
pub fn has_assets(&self) -> bool
pub fn get_importer_version(self) -> u32
pub fn get_importer_options_type(self) -> Result<Reader<'a>>
pub fn has_importer_options_type(&self) -> bool
pub fn get_importer_options(self) -> Result<Reader<'a>>
pub fn has_importer_options(&self) -> bool
pub fn get_importer_state_type(self) -> Result<Reader<'a>>
pub fn has_importer_state_type(&self) -> bool
pub fn get_importer_state(self) -> Result<Reader<'a>>
pub fn has_importer_state(&self) -> bool
pub fn get_build_pipelines(self) -> Result<Reader<'a, Owned>>
pub fn has_build_pipelines(&self) -> bool
pub fn get_importer_type(self) -> Result<Reader<'a>>
pub fn has_importer_type(&self) -> bool
pub fn has_error(&self) -> bool
pub fn get_path_refs(self) -> Result<Reader<'a>>
pub fn has_path_refs(&self) -> bool
pub fn get_import_hash(self) -> Result<Reader<'a>>
pub fn has_import_hash(&self) -> bool
pub fn get_version(self) -> u32
pub fn which(self) -> Result<WhichReader<'a>, NotInSchema>
Trait Implementations§
Source§impl<'a> FromPointerReader<'a> for Reader<'a>
impl<'a> FromPointerReader<'a> for Reader<'a>
fn get_from_pointer( reader: &PointerReader<'a>, default: Option<&'a [Word]>, ) -> Result<Reader<'a>>
Source§impl<'a> FromStructReader<'a> for Reader<'a>
impl<'a> FromStructReader<'a> for Reader<'a>
fn new(reader: StructReader<'a>) -> Reader<'a>
Source§impl<'a> IntoInternalStructReader<'a> for Reader<'a>
impl<'a> IntoInternalStructReader<'a> for Reader<'a>
fn into_internal_struct_reader(self) -> StructReader<'a>
Source§impl<'a> SetPointerBuilder for Reader<'a>
impl<'a> SetPointerBuilder for Reader<'a>
fn set_pointer_builder<'b>( pointer: PointerBuilder<'b>, value: Reader<'a>, canonicalize: bool, ) -> Result<()>
impl<'a> Copy for Reader<'a>
Auto Trait Implementations§
impl<'a> Freeze for Reader<'a>
impl<'a> !RefUnwindSafe for Reader<'a>
impl<'a> !Send for Reader<'a>
impl<'a> !Sync for Reader<'a>
impl<'a> Unpin for Reader<'a>
impl<'a> !UnwindSafe for Reader<'a>
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