pub enum ResourceValue {
Bag {
parent: u32,
values: Vec<(u32, Value)>,
},
Plain(Value),
}Expand description
Resource values can have two types:
- Plain value
- Bag
Bag is a collection of values with a parent pointer
Variants§
Trait Implementations§
Source§impl Debug for ResourceValue
impl Debug for ResourceValue
Source§impl PartialEq for ResourceValue
impl PartialEq for ResourceValue
impl Eq for ResourceValue
impl StructuralPartialEq for ResourceValue
Auto Trait Implementations§
impl Freeze for ResourceValue
impl RefUnwindSafe for ResourceValue
impl Send for ResourceValue
impl Sync for ResourceValue
impl Unpin for ResourceValue
impl UnwindSafe for ResourceValue
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