pub enum AnyParameterId {
Input(InputId),
Output(OutputId),
}Variants§
Implementations§
Source§impl AnyParameterId
impl AnyParameterId
pub fn assume_input(&self) -> InputId
pub fn assume_output(&self) -> OutputId
Trait Implementations§
Source§impl Clone for AnyParameterId
impl Clone for AnyParameterId
Source§fn clone(&self) -> AnyParameterId
fn clone(&self) -> AnyParameterId
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 AnyParameterId
impl Debug for AnyParameterId
Source§impl From<InputId> for AnyParameterId
impl From<InputId> for AnyParameterId
Source§impl From<OutputId> for AnyParameterId
impl From<OutputId> for AnyParameterId
Source§impl Hash for AnyParameterId
impl Hash for AnyParameterId
Source§impl PartialEq for AnyParameterId
impl PartialEq for AnyParameterId
Source§fn eq(&self, other: &AnyParameterId) -> bool
fn eq(&self, other: &AnyParameterId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AnyParameterId
impl Eq for AnyParameterId
impl StructuralPartialEq for AnyParameterId
Auto Trait Implementations§
impl Freeze for AnyParameterId
impl RefUnwindSafe for AnyParameterId
impl Send for AnyParameterId
impl Sync for AnyParameterId
impl Unpin for AnyParameterId
impl UnsafeUnpin for AnyParameterId
impl UnwindSafe for AnyParameterId
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