pub struct ArchVec { /* private fields */ }
Expand description
ArchVec represents a possibly architecture specific field and its values.
Implementations§
Source§impl ArchVec
impl ArchVec
Sourcepub fn new<S: Into<String>>(arch: Option<S>) -> ArchVec
pub fn new<S: Into<String>>(arch: Option<S>) -> ArchVec
Creates a new ArchVec with the given architecture
Sourcepub fn with_values<S: Into<String>>(
arch: Option<S>,
values: Vec<String>,
) -> ArchVec
pub fn with_values<S: Into<String>>( arch: Option<S>, values: Vec<String>, ) -> ArchVec
Creates a new ArchVec with the given architecture and values
Sourcepub fn iter(&self) -> ArchVecIter<'_> ⓘ
pub fn iter(&self) -> ArchVecIter<'_> ⓘ
An iterator over the values in this ArchVec
Trait Implementations§
Source§impl<'a> IntoIterator for &'a ArchVec
impl<'a> IntoIterator for &'a ArchVec
Source§impl Ord for ArchVec
impl Ord for ArchVec
Source§impl PartialOrd for ArchVec
impl PartialOrd for ArchVec
impl Eq for ArchVec
impl StructuralPartialEq for ArchVec
Auto Trait Implementations§
impl Freeze for ArchVec
impl RefUnwindSafe for ArchVec
impl Send for ArchVec
impl Sync for ArchVec
impl Unpin for ArchVec
impl UnwindSafe for ArchVec
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