pub enum StateTree {
Delay {
readidx: u64,
writeidx: u64,
data: Vec<u64>,
},
Mem {
data: Vec<u64>,
},
Feed {
data: Vec<u64>,
},
FnCall(Vec<StateTree>),
}Expand description
State Tree structure.
Variants§
Implementations§
Trait Implementations§
Source§impl<T: SizedType> From<StateTreeSkeleton<T>> for StateTree
impl<T: SizedType> From<StateTreeSkeleton<T>> for StateTree
Source§fn from(skeleton: StateTreeSkeleton<T>) -> Self
fn from(skeleton: StateTreeSkeleton<T>) -> Self
Converts to this type from the input type.
impl Eq for StateTree
impl StructuralPartialEq for StateTree
Auto Trait Implementations§
impl Freeze for StateTree
impl RefUnwindSafe for StateTree
impl Send for StateTree
impl Sync for StateTree
impl Unpin for StateTree
impl UnwindSafe for StateTree
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more