Enum dfir_lang::graph::ops::PortListSpec   
source · pub enum PortListSpec {
    Variadic,
    Fixed(Punctuated<PortIndex, Comma>),
}Expand description
Specification of the named (or unnamed) ports for an operator’s inputs or outputs.
Variants§
Variadic
Any number of unnamed (or optionally named) ports.
Fixed(Punctuated<PortIndex, Comma>)
A specific number of named ports.
Auto Trait Implementations§
impl Freeze for PortListSpec
impl RefUnwindSafe for PortListSpec
impl !Send for PortListSpec
impl !Sync for PortListSpec
impl Unpin for PortListSpec
impl UnwindSafe for PortListSpec
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> 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