pub struct DModel<'a> {
pub nodes: &'a [DNode],
pub ports: &'a [DPort],
pub edges: &'a [DEdge],
pub wps: &'a [[f32; 2]],
pub ver: u32,
}Expand description
the app’s diagram, borrowed for one call; ver changes with every geometry change
Fields§
§nodes: &'a [DNode]§ports: &'a [DPort]§edges: &'a [DEdge]§wps: &'a [[f32; 2]]§ver: u32Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for DModel<'a>
impl<'a> Freeze for DModel<'a>
impl<'a> RefUnwindSafe for DModel<'a>
impl<'a> Send for DModel<'a>
impl<'a> Sync for DModel<'a>
impl<'a> Unpin for DModel<'a>
impl<'a> UnsafeUnpin for DModel<'a>
impl<'a> UnwindSafe for DModel<'a>
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