#[repr(C)]pub struct ModuleItem {
pub item_type: PduIt,
pub num_entries: u32,
pub p_module_data: *mut ModuleData,
}Expand description
Module identification information
Fields§
§item_type: PduItItem type
num_entries: u32Number of entries in ModuleItem::p_module_data
p_module_data: *mut ModuleDataPointer to array of ModuleData
Trait Implementations§
Source§impl Clone for ModuleItem
impl Clone for ModuleItem
Source§fn clone(&self) -> ModuleItem
fn clone(&self) -> ModuleItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ModuleItem
Source§impl Debug for ModuleItem
impl Debug for ModuleItem
impl Eq for ModuleItem
Source§impl Ord for ModuleItem
impl Ord for ModuleItem
Source§fn cmp(&self, other: &ModuleItem) -> Ordering
fn cmp(&self, other: &ModuleItem) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ModuleItem
impl PartialEq for ModuleItem
Source§fn eq(&self, other: &ModuleItem) -> bool
fn eq(&self, other: &ModuleItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ModuleItem
impl PartialOrd for ModuleItem
impl StructuralPartialEq for ModuleItem
Auto Trait Implementations§
impl !Send for ModuleItem
impl !Sync for ModuleItem
impl Freeze for ModuleItem
impl RefUnwindSafe for ModuleItem
impl Unpin for ModuleItem
impl UnsafeUnpin for ModuleItem
impl UnwindSafe for ModuleItem
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