Struct nu_protocol::value::value_structure::ValueStructure
source · [−]pub struct ValueStructure {
pub resources: Vec<ValueResource>,
}
Fields
resources: Vec<ValueResource>
Implementations
sourceimpl ValueStructure
impl ValueStructure
pub fn new() -> ValueStructure
pub fn exists(&self, path: &Path) -> bool
pub fn walk_decorate(&mut self, start: &Value) -> Result<(), ShellError>
Trait Implementations
sourceimpl Debug for ValueStructure
impl Debug for ValueStructure
sourceimpl Default for ValueStructure
impl Default for ValueStructure
sourcefn default() -> ValueStructure
fn default() -> ValueStructure
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ValueStructure
impl Send for ValueStructure
impl Sync for ValueStructure
impl Unpin for ValueStructure
impl UnwindSafe for ValueStructure
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more