pub struct OperatingSystemViewMut<'a> { /* private fields */ }Expand description
Mutable view: field reads plus field and disk-layout editing.
Implementations§
Source§impl<'a> OperatingSystemViewMut<'a>
impl<'a> OperatingSystemViewMut<'a>
Sourcepub fn new(node: &'a mut Node) -> Option<Self>
pub fn new(node: &'a mut Node) -> Option<Self>
Some only when NODE is a list headed by operating-system.
Sourcepub fn set_field(&mut self, name: &str, value_source: &str) -> Result<(), Error>
pub fn set_field(&mut self, name: &str, value_source: &str) -> Result<(), Error>
Parse VALUE_SOURCE to a datum and set (or create) the named field.
Auto Trait Implementations§
impl<'a> !UnwindSafe for OperatingSystemViewMut<'a>
impl<'a> Freeze for OperatingSystemViewMut<'a>
impl<'a> RefUnwindSafe for OperatingSystemViewMut<'a>
impl<'a> Send for OperatingSystemViewMut<'a>
impl<'a> Sync for OperatingSystemViewMut<'a>
impl<'a> Unpin for OperatingSystemViewMut<'a>
impl<'a> UnsafeUnpin for OperatingSystemViewMut<'a>
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