pub enum Value {
String(&'static str),
Bytes(&'static [u8]),
Words(&'static [Word]),
Phandle(&'static str),
}Expand description
An expanded property in the devicetree.
Variants§
String(&'static str)
A string value.
Bytes(&'static [u8])
An arbitrary byte sequence.
Words(&'static [Word])
A number value.
Phandle(&'static str)
A phandle value. For now, this is just the name, since we can’t dynamically reference a module.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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