pub struct YoctoVar { /* private fields */ }
Implementations
sourceimpl YoctoVar
impl YoctoVar
pub fn valid_varable_name(name: &str) -> bool
pub fn new(name: &str, value: &str) -> Result<Self>
pub fn valid_str(s: &str) -> String
pub fn append(&mut self, new_value: &str)
pub fn prepend(&mut self, new_value: &str)
pub fn add_after(&mut self, new_value: &str)
pub fn add_before(&mut self, new_value: &str)
pub fn variables(value_str: &str) -> Vec<String>
pub fn expand_value(
&self,
data_store: &HashMap<String, YoctoVar>
) -> Result<String>
pub fn set_value(&mut self, value: &str)
pub fn value(&self) -> &str
pub fn name(&self) -> &str
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for YoctoVar
impl Send for YoctoVar
impl Sync for YoctoVar
impl Unpin for YoctoVar
impl UnwindSafe for YoctoVar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more