Struct hwlocality::topology::support::MiscSupport
source · pub struct MiscSupport(/* private fields */);
Available on crate feature
hwloc-2_3_0
only.Expand description
Miscellaneous support information
Implementations§
source§impl MiscSupport
impl MiscSupport
sourcepub fn imported(&self) -> bool
pub fn imported(&self) -> bool
Support was imported when importing another topology
See also BuildFlags::IMPORT_SUPPORT
.
Trait Implementations§
source§impl Arbitrary for MiscSupport
Available on crate feature proptest
only.
impl Arbitrary for MiscSupport
Available on crate feature
proptest
only.§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<TupleUnion<((u32, Arc<Map<Any, fn(_: bool) -> u8>>), (u32, Arc<RangeInclusive<u8>>))>, fn(_: u8) -> MiscSupport>
type Strategy = Map<TupleUnion<((u32, Arc<Map<Any, fn(_: bool) -> u8>>), (u32, Arc<RangeInclusive<u8>>))>, fn(_: u8) -> MiscSupport>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
source§impl Clone for MiscSupport
impl Clone for MiscSupport
source§fn clone(&self) -> MiscSupport
fn clone(&self) -> MiscSupport
Returns a copy 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 MiscSupport
impl Debug for MiscSupport
source§impl Default for MiscSupport
impl Default for MiscSupport
source§fn default() -> MiscSupport
fn default() -> MiscSupport
Returns the “default value” for a type. Read more
source§impl Hash for MiscSupport
impl Hash for MiscSupport
source§impl PartialEq for MiscSupport
impl PartialEq for MiscSupport
source§fn eq(&self, other: &MiscSupport) -> bool
fn eq(&self, other: &MiscSupport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MiscSupport
impl Eq for MiscSupport
impl StructuralPartialEq for MiscSupport
Auto Trait Implementations§
impl RefUnwindSafe for MiscSupport
impl Send for MiscSupport
impl Sync for MiscSupport
impl Unpin for MiscSupport
impl UnwindSafe for MiscSupport
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