pub struct GraphWrapper {
pub graph: Vec<StaticGraph>,
}Expand description
Wrapper for loading from JSON files with {graph: […]} structure
Fields§
§graph: Vec<StaticGraph>Trait Implementations§
Source§impl Debug for GraphWrapper
impl Debug for GraphWrapper
Source§impl<'de> Deserialize<'de> for GraphWrapper
impl<'de> Deserialize<'de> for GraphWrapper
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 GraphWrapper
impl RefUnwindSafe for GraphWrapper
impl Send for GraphWrapper
impl Sync for GraphWrapper
impl Unpin for GraphWrapper
impl UnsafeUnpin for GraphWrapper
impl UnwindSafe for GraphWrapper
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