pub struct NameList<'a> { /* private fields */ }
Implementations§
Source§impl<'a> NameList<'a>
impl<'a> NameList<'a>
pub fn get_by_index(&self, index: NameIndex) -> Option<Name>
pub fn get_closest_by_address(&self, address: Address) -> Option<Name>
pub fn get_address_by_index(&self, index: NameIndex) -> Option<Address>
pub fn has_name(&self, address: Address) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> NameListIter<'_, 'a> ⓘ
Auto Trait Implementations§
impl<'a> Freeze for NameList<'a>
impl<'a> RefUnwindSafe for NameList<'a>
impl<'a> !Send for NameList<'a>
impl<'a> !Sync for NameList<'a>
impl<'a> Unpin for NameList<'a>
impl<'a> UnwindSafe for NameList<'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