pub struct MountedCell {
pub name: String,
pub keys: BTreeMap<String, MountedCell>,
pub values: BTreeMap<String, RegValue>,
}Fields§
§name: String§keys: BTreeMap<String, MountedCell>§values: BTreeMap<String, RegValue>Implementations§
Source§impl MountedCell
impl MountedCell
pub fn new(name: &str) -> Self
pub fn add_key(&mut self, path: &str)
pub fn contains_key(&self, path: &str) -> bool
pub fn add_value(&mut self, path: &str, value: &str, data: RegValue)
pub fn get_value(&self, path: &str, value: &str) -> Option<RegValue>
pub fn get_values(&self, path: &str) -> Vec<String>
pub fn get_keys(&self, path: &str) -> Vec<String>
Trait Implementations§
Source§impl Clone for MountedCell
impl Clone for MountedCell
Source§fn clone(&self) -> MountedCell
fn clone(&self) -> MountedCell
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 MountedCell
impl Debug for MountedCell
Source§impl Default for MountedCell
impl Default for MountedCell
Source§fn default() -> MountedCell
fn default() -> MountedCell
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MountedCell
impl RefUnwindSafe for MountedCell
impl Send for MountedCell
impl Sync for MountedCell
impl Unpin for MountedCell
impl UnwindSafe for MountedCell
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