Struct hexodsp::matrix_repr::CellRepr
source · [−]pub struct CellRepr {
pub node_id: NodeId,
pub x: usize,
pub y: usize,
pub inp: [i16; 3],
pub out: [i16; 3],
}
Fields
node_id: NodeId
x: usize
y: usize
inp: [i16; 3]
out: [i16; 3]
Implementations
sourceimpl CellRepr
impl CellRepr
pub fn serialize(&self) -> Value
pub fn deserialize(v: &Value) -> Result<Self, MatrixDeserError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CellRepr
impl Send for CellRepr
impl Sync for CellRepr
impl Unpin for CellRepr
impl UnwindSafe for CellRepr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more