Enum ChangeLocation
pub enum ChangeLocation {
Output(usize),
InputForOutput {
output_index: usize,
input_index: usize,
},
MemoryAddress {
memory_index: usize,
input_index: usize,
},
}
Expand description
The location in the Dataflows
where a change occurred.
Variants§
Implementations§
§impl ChangeLocation
impl ChangeLocation
pub fn is_input(&self) -> bool
pub fn into_output(self) -> ChangeLocation
Trait Implementations§
§impl Clone for ChangeLocation
impl Clone for ChangeLocation
§fn clone(&self) -> ChangeLocation
fn clone(&self) -> ChangeLocation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ChangeLocation
impl Debug for ChangeLocation
§impl<'de> Deserialize<'de> for ChangeLocation
impl<'de> Deserialize<'de> for ChangeLocation
§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
§impl From<&ChangeLocation> for FlowValueLocation
impl From<&ChangeLocation> for FlowValueLocation
§fn from(location: &ChangeLocation) -> Self
fn from(location: &ChangeLocation) -> Self
Converts to this type from the input type.
§impl From<ChangeLocation> for FlowValueLocation
impl From<ChangeLocation> for FlowValueLocation
§fn from(location: ChangeLocation) -> Self
fn from(location: ChangeLocation) -> Self
Converts to this type from the input type.
§impl From<FlowInputLocation> for ChangeLocation
impl From<FlowInputLocation> for ChangeLocation
§fn from(location: FlowInputLocation) -> Self
fn from(location: FlowInputLocation) -> Self
Converts to this type from the input type.
§impl Hash for ChangeLocation
impl Hash for ChangeLocation
§impl Ord for ChangeLocation
impl Ord for ChangeLocation
§impl PartialEq for ChangeLocation
impl PartialEq for ChangeLocation
§impl PartialOrd for ChangeLocation
impl PartialOrd for ChangeLocation
§impl Serialize for ChangeLocation
impl Serialize for ChangeLocation
impl Copy for ChangeLocation
impl Eq for ChangeLocation
impl StructuralPartialEq for ChangeLocation
Auto Trait Implementations§
impl Freeze for ChangeLocation
impl RefUnwindSafe for ChangeLocation
impl Send for ChangeLocation
impl Sync for ChangeLocation
impl Unpin for ChangeLocation
impl UnwindSafe for ChangeLocation
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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