pub struct PhandleLink {
pub name: &'static str,
pub size: &'static str,
}
Expand description
A link between two nodes.
These links originate from phandle references.
The way these phandles are parsed is not fully specified by the devicetree
specification.
Vendors, kernels, bootloaders can have different conventions when it comes to phandle parsing.
For now, only Linux kernel links are supported.
Fields§
§name: &'static str
§size: &'static str
Trait Implementations§
Source§impl Borrow<str> for PhandleLink
impl Borrow<str> for PhandleLink
Source§impl Clone for PhandleLink
impl Clone for PhandleLink
Source§fn clone(&self) -> PhandleLink
fn clone(&self) -> PhandleLink
Returns a duplicate 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 moreSource§impl Debug for PhandleLink
impl Debug for PhandleLink
Source§impl Hash for PhandleLink
impl Hash for PhandleLink
Source§impl Ord for PhandleLink
impl Ord for PhandleLink
Source§impl PartialEq for PhandleLink
impl PartialEq for PhandleLink
Source§impl PartialOrd for PhandleLink
impl PartialOrd for PhandleLink
impl Eq for PhandleLink
Auto Trait Implementations§
impl Freeze for PhandleLink
impl RefUnwindSafe for PhandleLink
impl Send for PhandleLink
impl Sync for PhandleLink
impl Unpin for PhandleLink
impl UnwindSafe for PhandleLink
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