#[non_exhaustive]pub enum GraphEffectMode {
Forward,
Fit,
}Expand description
What to do with a graph run as an effect.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Forward
Run forward with whatever states are already fitted.
Fit
Fit the graph on the supplied input first.
Trait Implementations§
Source§impl Clone for GraphEffectMode
impl Clone for GraphEffectMode
Source§fn clone(&self) -> GraphEffectMode
fn clone(&self) -> GraphEffectMode
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 GraphEffectMode
impl Debug for GraphEffectMode
Source§impl Default for GraphEffectMode
impl Default for GraphEffectMode
Source§fn default() -> GraphEffectMode
fn default() -> GraphEffectMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphEffectMode
impl<'de> Deserialize<'de> for GraphEffectMode
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 GraphEffectMode
impl PartialEq for GraphEffectMode
Source§fn eq(&self, other: &GraphEffectMode) -> bool
fn eq(&self, other: &GraphEffectMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphEffectMode
impl Serialize for GraphEffectMode
impl Copy for GraphEffectMode
impl Eq for GraphEffectMode
impl StructuralPartialEq for GraphEffectMode
Auto Trait Implementations§
impl Freeze for GraphEffectMode
impl RefUnwindSafe for GraphEffectMode
impl Send for GraphEffectMode
impl Sync for GraphEffectMode
impl Unpin for GraphEffectMode
impl UnsafeUnpin for GraphEffectMode
impl UnwindSafe for GraphEffectMode
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