pub struct AttachedInterfaces<'a> { /* private fields */ }Implementations§
Source§impl<'a> AttachedInterfaces<'a>
impl<'a> AttachedInterfaces<'a>
pub const fn new( descriptors: &'a [InterfaceDescriptor], ) -> AttachedInterfaces<'a>
pub fn descriptor_for(self, id: InterfaceId) -> Option<&'a InterfaceDescriptor>
pub fn is_egress_eligible( self, target: InterfaceId, egress_kind: Egress, ) -> bool
pub const fn len(self) -> usize
pub const fn is_empty(self) -> bool
pub fn iter(self) -> Iter<'a, InterfaceDescriptor> ⓘ
Trait Implementations§
Source§impl<'a> Clone for AttachedInterfaces<'a>
impl<'a> Clone for AttachedInterfaces<'a>
Source§fn clone(&self) -> AttachedInterfaces<'a>
fn clone(&self) -> AttachedInterfaces<'a>
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 moreimpl<'a> Copy for AttachedInterfaces<'a>
Source§impl<'a> Debug for AttachedInterfaces<'a>
impl<'a> Debug for AttachedInterfaces<'a>
Source§impl<'a> IntoIterator for AttachedInterfaces<'a>
impl<'a> IntoIterator for AttachedInterfaces<'a>
Source§type Item = &'a InterfaceDescriptor
type Item = &'a InterfaceDescriptor
The type of the elements being iterated over.
Source§type IntoIter = Iter<'a, InterfaceDescriptor>
type IntoIter = Iter<'a, InterfaceDescriptor>
Which kind of iterator are we turning this into?
Source§fn into_iter(self) -> <AttachedInterfaces<'a> as IntoIterator>::IntoIter
fn into_iter(self) -> <AttachedInterfaces<'a> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for AttachedInterfaces<'a>
impl<'a> RefUnwindSafe for AttachedInterfaces<'a>
impl<'a> Send for AttachedInterfaces<'a>
impl<'a> Sync for AttachedInterfaces<'a>
impl<'a> Unpin for AttachedInterfaces<'a>
impl<'a> UnsafeUnpin for AttachedInterfaces<'a>
impl<'a> UnwindSafe for AttachedInterfaces<'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