Struct parse::attributes::Attributes
source · pub struct Attributes {
pub values: Vec<Attribute>,
}
Fields§
§values: Vec<Attribute>
Implementations§
source§impl Attributes
impl Attributes
pub fn known_attribute<T>(&self, constant_pool: &ConstantPool) -> Result<T>where T: KnownAttribute,
pub fn parse(bytes: &mut Bytes, constant_pool: &ConstantPool) -> Result<Self>
Trait Implementations§
source§impl Clone for Attributes
impl Clone for Attributes
source§fn clone(&self) -> Attributes
fn clone(&self) -> Attributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl !UnwindSafe for Attributes
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