pub struct CompatibleArchitectures(/* private fields */);
Available on crate feature
lambda
only.Implementations§
Source§impl CompatibleArchitectures
impl CompatibleArchitectures
pub fn try_new( raw_value: Vec<Architecture>, ) -> Result<Self, CompatibleArchitecturesError>
pub fn new( raw_value: Vec<Architecture>, ) -> Result<Self, CompatibleArchitecturesError>
👎Deprecated since 0.4.3: Use
try_new
instead.Source§impl CompatibleArchitectures
impl CompatibleArchitectures
pub fn into_inner(self) -> Vec<Architecture>
Trait Implementations§
Source§impl Clone for CompatibleArchitectures
impl Clone for CompatibleArchitectures
Source§fn clone(&self) -> CompatibleArchitectures
fn clone(&self) -> CompatibleArchitectures
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 Debug for CompatibleArchitectures
impl Debug for CompatibleArchitectures
Source§impl Serialize for CompatibleArchitectures
impl Serialize for CompatibleArchitectures
Source§impl TryFrom<Vec<Architecture>> for CompatibleArchitectures
impl TryFrom<Vec<Architecture>> for CompatibleArchitectures
Source§type Error = CompatibleArchitecturesError
type Error = CompatibleArchitecturesError
The type returned in the event of a conversion error.
Source§fn try_from(
raw_value: Vec<Architecture>,
) -> Result<CompatibleArchitectures, Self::Error>
fn try_from( raw_value: Vec<Architecture>, ) -> Result<CompatibleArchitectures, Self::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CompatibleArchitectures
impl RefUnwindSafe for CompatibleArchitectures
impl Send for CompatibleArchitectures
impl Sync for CompatibleArchitectures
impl Unpin for CompatibleArchitectures
impl UnwindSafe for CompatibleArchitectures
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