Struct noak::reader::attributes::Module
source · pub struct Module<'input> { /* private fields */ }
Implementations§
source§impl<'input> Module<'input>
impl<'input> Module<'input>
pub fn name(&self) -> Index<Module<'input>>
pub fn flags(&self) -> AccessFlags
pub fn version(&self) -> Option<Index<Utf8<'input>>>
pub fn requires(&self) -> DecodeMany<'input, Require<'input>, u16>
pub fn exports(&self) -> DecodeMany<'input, Export<'input>, u16>
pub fn opens(&self) -> DecodeMany<'input, Open<'input>, u16>
pub fn uses(&self) -> DecodeMany<'input, Index<Class<'input>>, u16>
pub fn provides(&self) -> DecodeMany<'input, Provide<'input>, u16>
Trait Implementations§
source§impl<'input> TryFrom<AttributeContent<'input>> for Box<Module<'input>>
impl<'input> TryFrom<AttributeContent<'input>> for Box<Module<'input>>
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
source§impl<'input> TryFrom<AttributeContent<'input>> for Module<'input>
impl<'input> TryFrom<AttributeContent<'input>> for Module<'input>
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'input> Freeze for Module<'input>
impl<'input> RefUnwindSafe for Module<'input>
impl<'input> Send for Module<'input>
impl<'input> Sync for Module<'input>
impl<'input> Unpin for Module<'input>
impl<'input> UnwindSafe for Module<'input>
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