pub struct FlatIncidenceMatrix {
pub data: Vec<i32>,
pub places_count: usize,
pub transitions_count: usize,
}Fields§
§data: Vec<i32>Contiguous 1D buffer of incidence values [row-major: places x transitions]
places_count: usize§transitions_count: usizeImplementations§
Trait Implementations§
Source§impl Clone for FlatIncidenceMatrix
impl Clone for FlatIncidenceMatrix
Source§fn clone(&self) -> FlatIncidenceMatrix
fn clone(&self) -> FlatIncidenceMatrix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlatIncidenceMatrix
impl Debug for FlatIncidenceMatrix
Source§impl<'de> Deserialize<'de> for FlatIncidenceMatrix
impl<'de> Deserialize<'de> for FlatIncidenceMatrix
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
Source§impl PartialEq for FlatIncidenceMatrix
impl PartialEq for FlatIncidenceMatrix
Source§fn eq(&self, other: &FlatIncidenceMatrix) -> bool
fn eq(&self, other: &FlatIncidenceMatrix) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FlatIncidenceMatrix
impl Serialize for FlatIncidenceMatrix
impl StructuralPartialEq for FlatIncidenceMatrix
Auto Trait Implementations§
impl Freeze for FlatIncidenceMatrix
impl RefUnwindSafe for FlatIncidenceMatrix
impl Send for FlatIncidenceMatrix
impl Sync for FlatIncidenceMatrix
impl Unpin for FlatIncidenceMatrix
impl UnsafeUnpin for FlatIncidenceMatrix
impl UnwindSafe for FlatIncidenceMatrix
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