pub enum ModportSimplePort<'a> {
Name(Box<PortIdentifier<'a>>),
Expression(Box<(Metadata<'a>, PortIdentifier<'a>, Metadata<'a>, Option<Expression<'a>>, Metadata<'a>)>),
}Variants§
Name(Box<PortIdentifier<'a>>)
Expression(Box<(Metadata<'a>, PortIdentifier<'a>, Metadata<'a>, Option<Expression<'a>>, Metadata<'a>)>)
Implementations§
Source§impl<'a: 'b, 'b> ModportSimplePort<'a>
impl<'a: 'b, 'b> ModportSimplePort<'a>
Sourcepub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
pub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
Iterate across the ModportSimplePort and its children
Trait Implementations§
Source§impl<'a> Clone for ModportSimplePort<'a>
impl<'a> Clone for ModportSimplePort<'a>
Source§fn clone(&self) -> ModportSimplePort<'a>
fn clone(&self) -> ModportSimplePort<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for ModportSimplePort<'a>
impl<'a> Debug for ModportSimplePort<'a>
Source§impl<'a: 'b, 'b> From<&'b ModportSimplePort<'a>> for Node<'a, 'b>
impl<'a: 'b, 'b> From<&'b ModportSimplePort<'a>> for Node<'a, 'b>
Source§fn from(value: &'b ModportSimplePort<'a>) -> Self
fn from(value: &'b ModportSimplePort<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a: 'b, 'b> IntoIterator for &'b ModportSimplePort<'a>
impl<'a: 'b, 'b> IntoIterator for &'b ModportSimplePort<'a>
Source§impl<'a: 'b, 'b> Nodes<'a, 'b> for ModportSimplePort<'a>
impl<'a: 'b, 'b> Nodes<'a, 'b> for ModportSimplePort<'a>
Source§impl<'a> PartialEq for ModportSimplePort<'a>
impl<'a> PartialEq for ModportSimplePort<'a>
impl<'a> StructuralPartialEq for ModportSimplePort<'a>
Auto Trait Implementations§
impl<'a> Freeze for ModportSimplePort<'a>
impl<'a> RefUnwindSafe for ModportSimplePort<'a>
impl<'a> Send for ModportSimplePort<'a>
impl<'a> Sync for ModportSimplePort<'a>
impl<'a> Unpin for ModportSimplePort<'a>
impl<'a> UnsafeUnpin for ModportSimplePort<'a>
impl<'a> UnwindSafe for ModportSimplePort<'a>
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