Enum assorted_debian_utils::wb::WBArchitecture
source · [−]pub enum WBArchitecture {
Any,
All,
Architecture(Architecture),
ExcludeArchitecture(Architecture),
}
Expand description
Architectures understood by wb
In addition to the the architectures from Architecture, wb
has two special “architectures”
named ANY
(all binary-dependent architectures) and ALL
(all architectures). Also, it
supports negation of architectures, e.g., ANY -i386
refers to all binary-dependent
architectures without i386
.
Variants
Any
The special ANY
architecture, i.e., all architectures understood by wb except all
All
The special ALL
architecture, i.e., all architectures understood by wb
Architecture(Architecture)
Specify an architecture
ExcludeArchitecture(Architecture)
Exclude a specific architecture
Trait Implementations
sourceimpl Clone for WBArchitecture
impl Clone for WBArchitecture
sourcefn clone(&self) -> WBArchitecture
fn clone(&self) -> WBArchitecture
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WBArchitecture
impl Debug for WBArchitecture
sourceimpl Display for WBArchitecture
impl Display for WBArchitecture
sourceimpl PartialEq<WBArchitecture> for WBArchitecture
impl PartialEq<WBArchitecture> for WBArchitecture
sourcefn eq(&self, other: &WBArchitecture) -> bool
fn eq(&self, other: &WBArchitecture) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WBArchitecture) -> bool
fn ne(&self, other: &WBArchitecture) -> bool
This method tests for !=
.
sourceimpl TryFrom<&str> for WBArchitecture
impl TryFrom<&str> for WBArchitecture
impl Copy for WBArchitecture
impl Eq for WBArchitecture
impl StructuralEq for WBArchitecture
impl StructuralPartialEq for WBArchitecture
Auto Trait Implementations
impl RefUnwindSafe for WBArchitecture
impl Send for WBArchitecture
impl Sync for WBArchitecture
impl Unpin for WBArchitecture
impl UnwindSafe for WBArchitecture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.