Struct move_binary_format::views::StructHandleView
source · pub struct StructHandleView<'a, T> { /* private fields */ }
Implementations§
source§impl<'a, T: ModuleAccess> StructHandleView<'a, T>
impl<'a, T: ModuleAccess> StructHandleView<'a, T>
pub fn new(module: &'a T, struct_handle: &'a StructHandle) -> Self
pub fn handle(&self) -> &StructHandle
pub fn abilities(&self) -> AbilitySet
pub fn type_parameters(&self) -> &Vec<StructTypeParameter> ⓘ
pub fn module_handle(&self) -> &ModuleHandle
pub fn name(&self) -> &'a IdentStr
pub fn module_id(&self) -> ModuleId
sourcepub fn handle_idx(&self) -> StructHandleIndex
pub fn handle_idx(&self) -> StructHandleIndex
Return the StructHandleIndex of this handle in the module’s struct handle table