pub struct RegInfo {
pub address: u64,
pub size: Option<u64>,
}Expand description
Reg entry information.
Represents a single entry in a reg property, describing an address
range for a device’s registers or memory.
§Fields
address- The base address of the register range or memory regionsize- The size of the range (may beNoneif#size-cellsis 0)
Fields§
§address: u64Base address of the register/memory range
size: Option<u64>Size of the range (None if #size-cells is 0)
Implementations§
Trait Implementations§
impl Copy for RegInfo
impl Eq for RegInfo
impl StructuralPartialEq for RegInfo
Auto Trait Implementations§
impl Freeze for RegInfo
impl RefUnwindSafe for RegInfo
impl Send for RegInfo
impl Sync for RegInfo
impl Unpin for RegInfo
impl UnwindSafe for RegInfo
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