pub struct Array { /* private fields */ }Expand description
Represents a Array type.
Implementations§
Source§impl Array
impl Array
Sourcepub fn new(
reader: &mut Reader<'_>,
file_header: &FileHeader,
type_header: Header,
) -> BTFResult<Self>
pub fn new( reader: &mut Reader<'_>, file_header: &FileHeader, type_header: Header, ) -> BTFResult<Self>
Creates a new $name object
Sourcepub fn element_tid(&self) -> &u32
pub fn element_tid(&self) -> &u32
Returns the $data_name field of the type
Sourcepub fn element_count(&self) -> &u32
pub fn element_count(&self) -> &u32
Returns the $data_name field of the type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Array
impl RefUnwindSafe for Array
impl Send for Array
impl Sync for Array
impl Unpin for Array
impl UnwindSafe for Array
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