pub struct ProfileSet(/* private fields */);Expand description
Set of TOSA base profiles implemented by a target.
Implementations§
Source§impl ProfileSet
impl ProfileSet
pub const INTEGER: Self
pub const FLOATING_POINT: Self
pub const ALL: Self
pub const fn from_bits(bits: u32) -> Option<Self>
pub const fn bits(self) -> u32
pub const fn union(self, other: Self) -> Self
pub const fn contains(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
Trait Implementations§
Source§impl Clone for ProfileSet
impl Clone for ProfileSet
Source§fn clone(&self) -> ProfileSet
fn clone(&self) -> ProfileSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProfileSet
Source§impl Debug for ProfileSet
impl Debug for ProfileSet
impl Eq for ProfileSet
Source§impl Hash for ProfileSet
impl Hash for ProfileSet
Source§impl PartialEq for ProfileSet
impl PartialEq for ProfileSet
Source§fn eq(&self, other: &ProfileSet) -> bool
fn eq(&self, other: &ProfileSet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProfileSet
Auto Trait Implementations§
impl Freeze for ProfileSet
impl RefUnwindSafe for ProfileSet
impl Send for ProfileSet
impl Sync for ProfileSet
impl Unpin for ProfileSet
impl UnsafeUnpin for ProfileSet
impl UnwindSafe for ProfileSet
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