#[non_exhaustive]pub enum FileStructValue {
MethodName(String),
Children(BTreeMap<String, FileStructData>),
}Expand description
A FileStructData entry’s payload.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MethodName(String)
A leaf: the entry is a method, named by its signature.
Children(BTreeMap<String, FileStructData>)
A branch: nested entries, keyed by name.
Trait Implementations§
Source§impl Clone for FileStructValue
impl Clone for FileStructValue
Source§impl Debug for FileStructValue
impl Debug for FileStructValue
impl Eq for FileStructValue
Source§impl PartialEq for FileStructValue
impl PartialEq for FileStructValue
impl StructuralPartialEq for FileStructValue
Auto Trait Implementations§
impl Forget for FileStructValue
impl Freeze for FileStructValue
impl RefUnwindSafe for FileStructValue
impl Send for FileStructValue
impl Sync for FileStructValue
impl Unpin for FileStructValue
impl UnsafeUnpin for FileStructValue
impl UnwindSafe for FileStructValue
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