[−][src]Struct doublecount::Program
A collection of Actions to be executed in order to mutate some ProgramState.
Fields
actions: Vec<Rc<A>>Implementations
impl<A> Program<A> where
A: ActionTypeValueEnum, [src]
A: ActionTypeValueEnum,
pub fn new(actions: Vec<Rc<A>>) -> Program<A>[src]
Create a new Program.
The provided actions will be sorted using ActionOrder.
pub fn len(&self) -> usize[src]
The number of actions in this program.
Trait Implementations
impl<A: Clone> Clone for Program<A>[src]
impl<A: Debug> Debug for Program<A>[src]
impl<'de, A> Deserialize<'de> for Program<A> where
A: Deserialize<'de> + ActionTypeValueEnum, [src]
A: Deserialize<'de> + ActionTypeValueEnum,
fn deserialize<D>(deserializer: D) -> Result<Program<A>, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl<A: PartialEq> PartialEq<Program<A>> for Program<A>[src]
impl<A> Serialize for Program<A> where
A: Serialize, [src]
A: Serialize,
impl<A> StructuralPartialEq for Program<A>[src]
Auto Trait Implementations
impl<A = ActionTypeValue> !RefUnwindSafe for Program<A>
impl<A = ActionTypeValue> !Send for Program<A>
impl<A = ActionTypeValue> !Sync for Program<A>
impl<A> Unpin for Program<A>
impl<A> UnwindSafe for Program<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,