pub struct Handle {
pub path: String,
pub index: Option<u32>,
}
Expand description
Handle. Used for referencing nodes within a MachGraph.
Fields§
§path: String
Name of the node (is a dot-separated path in a search).
index: Option<u32>
Index of the node in the graph.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Handle
impl<'de> Deserialize<'de> for Handle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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