pub enum BinaryIndexedView<'a> {
    Module(&'a CompiledModule),
    Script(&'a CompiledScript),
}Variants
Module(&'a CompiledModule)
Script(&'a CompiledScript)
Implementations
sourceimpl<'a> BinaryIndexedView<'a>
 
impl<'a> BinaryIndexedView<'a>
pub fn module_handles(&self) -> &[ModuleHandle]
pub fn struct_handles(&self) -> &[StructHandle]
pub fn function_handles(&self) -> &[FunctionHandle]
pub fn identifiers(&self) -> &[Identifier]
pub fn identifier_at(&self, idx: IdentifierIndex) -> &IdentStr
pub fn address_identifiers(&self) -> &[AccountAddress]
pub fn address_identifier_at(
    &self, 
    idx: AddressIdentifierIndex
) -> &AccountAddress
pub fn constant_pool(&self) -> &[Constant]
pub fn constant_at(&self, idx: ConstantPoolIndex) -> &Constant
pub fn signatures(&self) -> &[Signature]
pub fn signature_at(&self, idx: SignatureIndex) -> &Signature
pub fn module_handle_at(&self, idx: ModuleHandleIndex) -> &ModuleHandle
pub fn struct_handle_at(&self, idx: StructHandleIndex) -> &StructHandle
pub fn function_handle_at(&self, idx: FunctionHandleIndex) -> &FunctionHandle
pub fn function_instantiations(&self) -> &[FunctionInstantiation]
pub fn function_instantiation_at(
    &self, 
    idx: FunctionInstantiationIndex
) -> &FunctionInstantiation
pub fn field_handles(&self) -> Option<&[FieldHandle]>
pub fn field_handle_at(
    &self, 
    idx: FieldHandleIndex
) -> PartialVMResult<&FieldHandle>
pub fn friend_decls(&self) -> Option<&[ModuleHandle]>
pub fn struct_instantiations(&self) -> Option<&[StructDefInstantiation]>
pub fn struct_instantiation_at(
    &self, 
    idx: StructDefInstantiationIndex
) -> PartialVMResult<&StructDefInstantiation>
pub fn field_instantiations(&self) -> Option<&[FieldInstantiation]>
pub fn field_instantiation_at(
    &self, 
    idx: FieldInstantiationIndex
) -> PartialVMResult<&FieldInstantiation>
pub fn struct_defs(&self) -> Option<&[StructDefinition]>
pub fn struct_def_at(
    &self, 
    idx: StructDefinitionIndex
) -> PartialVMResult<&StructDefinition>
pub fn function_defs(&self) -> Option<&[FunctionDefinition]>
pub fn function_def_at(
    &self, 
    idx: FunctionDefinitionIndex
) -> PartialVMResult<&FunctionDefinition>
pub fn abilities(
    &self, 
    ty: &SignatureToken, 
    constraints: &[AbilitySet]
) -> PartialVMResult<AbilitySet>
pub fn self_handle_idx(&self) -> Option<ModuleHandleIndex>
pub fn module_id_for_handle(&self, module_handle: &ModuleHandle) -> ModuleId
pub fn self_id(&self) -> Option<ModuleId>
pub fn version(&self) -> u32
Trait Implementations
sourceimpl<'a> Clone for BinaryIndexedView<'a>
 
impl<'a> Clone for BinaryIndexedView<'a>
sourcefn clone(&self) -> BinaryIndexedView<'a>
 
fn clone(&self) -> BinaryIndexedView<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for BinaryIndexedView<'a>
 
impl<'a> Debug for BinaryIndexedView<'a>
impl<'a> Copy for BinaryIndexedView<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BinaryIndexedView<'a>
impl<'a> Send for BinaryIndexedView<'a>
impl<'a> Sync for BinaryIndexedView<'a>
impl<'a> Unpin for BinaryIndexedView<'a>
impl<'a> UnwindSafe for BinaryIndexedView<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more