pub struct ValueId(/* private fields */);Implementations§
Trait Implementations§
Source§impl Key for ValueId
impl Key for ValueId
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl OpIO for ValueId
impl OpIO for ValueId
fn num_inputs(&self) -> usize
fn input(&self, _i: usize) -> ValueId
fn input_mut(&mut self, _i: usize) -> &mut ValueId
fn num_outputs(&self) -> usize
fn output(&self, i: usize) -> ValueId
fn output_mut(&mut self, i: usize) -> &mut ValueId
fn attr_eq(&self, rhs: &Self) -> bool
fn attr_hash<H: Hasher>(&self, state: &mut H)
fn inputs(&self) -> impl Iterator<Item = ValueId> + '_
fn map_inputs(&mut self, f: impl FnMut(ValueId) -> ValueId)
fn outputs(&self) -> impl Iterator<Item = ValueId> + '_
fn map_outputs(&mut self, f: impl FnMut(ValueId) -> ValueId)
fn values(&self) -> impl Iterator<Item = ValueId> + '_
fn map_values(&mut self, f: impl FnMut(ValueId) -> ValueId)
Source§impl Ord for ValueId
impl Ord for ValueId
Source§impl PartialOrd for ValueId
impl PartialOrd for ValueId
impl Copy for ValueId
impl Eq for ValueId
impl IdFor<Value> for ValueId
impl StructuralPartialEq for ValueId
Auto Trait Implementations§
impl Freeze for ValueId
impl RefUnwindSafe for ValueId
impl Send for ValueId
impl Sync for ValueId
impl Unpin for ValueId
impl UnwindSafe for ValueId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.