pub struct TfPortItem<'a>(pub Vec<AttributeInstance<'a>>, pub Option<TfPortDirection<'a>>, pub Option<Metadata<'a>>, pub DataTypeOrImplicit<'a>, pub Option<(PortIdentifier<'a>, Vec<VariableDimension<'a>>, Option<(Metadata<'a>, Expression<'a>)>)>);Tuple Fields§
§0: Vec<AttributeInstance<'a>>§1: Option<TfPortDirection<'a>>§2: Option<Metadata<'a>>§3: DataTypeOrImplicit<'a>§4: Option<(PortIdentifier<'a>, Vec<VariableDimension<'a>>, Option<(Metadata<'a>, Expression<'a>)>)>Implementations§
Source§impl<'a: 'b, 'b> TfPortItem<'a>
impl<'a: 'b, 'b> TfPortItem<'a>
Sourcepub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
pub fn iter(&'b self) -> NodeIter<'a, 'b> ⓘ
Iterate across the TfPortItem and its children
Trait Implementations§
Source§impl<'a> Clone for TfPortItem<'a>
impl<'a> Clone for TfPortItem<'a>
Source§fn clone(&self) -> TfPortItem<'a>
fn clone(&self) -> TfPortItem<'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 TfPortItem<'a>
impl<'a> Debug for TfPortItem<'a>
Source§impl<'a: 'b, 'b> From<&'b TfPortItem<'a>> for Node<'a, 'b>
impl<'a: 'b, 'b> From<&'b TfPortItem<'a>> for Node<'a, 'b>
Source§fn from(value: &'b TfPortItem<'a>) -> Self
fn from(value: &'b TfPortItem<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a: 'b, 'b> IntoIterator for &'b TfPortItem<'a>
impl<'a: 'b, 'b> IntoIterator for &'b TfPortItem<'a>
Source§impl<'a: 'b, 'b> Nodes<'a, 'b> for TfPortItem<'a>
impl<'a: 'b, 'b> Nodes<'a, 'b> for TfPortItem<'a>
Source§impl<'a> PartialEq for TfPortItem<'a>
impl<'a> PartialEq for TfPortItem<'a>
impl<'a> StructuralPartialEq for TfPortItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for TfPortItem<'a>
impl<'a> RefUnwindSafe for TfPortItem<'a>
impl<'a> Send for TfPortItem<'a>
impl<'a> Sync for TfPortItem<'a>
impl<'a> Unpin for TfPortItem<'a>
impl<'a> UnsafeUnpin for TfPortItem<'a>
impl<'a> UnwindSafe for TfPortItem<'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