#[non_exhaustive]pub struct InputVector {
pub inputs: BTreeMap<String, InputState>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.inputs: BTreeMap<String, InputState>Implementations§
Source§impl InputVector
impl InputVector
pub fn new(inputs: BTreeMap<String, InputState>) -> InputVector
Sourcepub fn matches(&self, current: &InputVector) -> bool
pub fn matches(&self, current: &InputVector) -> bool
Compare the saved read set only. Unrelated writes do not stale a plan.
Trait Implementations§
Source§impl Clone for InputVector
impl Clone for InputVector
Source§fn clone(&self) -> InputVector
fn clone(&self) -> InputVector
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 InputVector
impl Debug for InputVector
Source§impl Default for InputVector
impl Default for InputVector
Source§fn default() -> InputVector
fn default() -> InputVector
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputVector
impl<'de> Deserialize<'de> for InputVector
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InputVector, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InputVector, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InputVector
Source§impl PartialEq for InputVector
impl PartialEq for InputVector
Source§impl Serialize for InputVector
impl Serialize for InputVector
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InputVector
Auto Trait Implementations§
impl Forget for InputVector
impl Freeze for InputVector
impl Move for InputVector
impl RefUnwindSafe for InputVector
impl Send for InputVector
impl Sync for InputVector
impl Unpin for InputVector
impl UnsafeUnpin for InputVector
impl UnwindSafe for InputVector
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