pub struct CallSiteFlags(/* private fields */);Expand description
Forward-compatible GSYM call-site flag bits.
Bits this crate does not define are kept rather than cleared, so they
survive a decode and re-encode. Use
from_bits_retain to construct a value from a raw
byte and bits to get it back.
Implementations§
Source§impl CallSiteFlags
impl CallSiteFlags
Sourcepub const fn from_bits_retain(bits: u8) -> Self
pub const fn from_bits_retain(bits: u8) -> Self
Wraps all bits, including values unknown to this crate.
Trait Implementations§
Source§impl BitOr for CallSiteFlags
impl BitOr for CallSiteFlags
Source§impl BitOrAssign for CallSiteFlags
impl BitOrAssign for CallSiteFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for CallSiteFlags
impl Clone for CallSiteFlags
Source§fn clone(&self) -> CallSiteFlags
fn clone(&self) -> CallSiteFlags
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 CallSiteFlags
Source§impl Debug for CallSiteFlags
impl Debug for CallSiteFlags
Source§impl Default for CallSiteFlags
impl Default for CallSiteFlags
Source§fn default() -> CallSiteFlags
fn default() -> CallSiteFlags
Returns the “default value” for a type. Read more
impl Eq for CallSiteFlags
Source§impl From<CallSiteFlags> for u8
impl From<CallSiteFlags> for u8
Source§fn from(value: CallSiteFlags) -> Self
fn from(value: CallSiteFlags) -> Self
Converts to this type from the input type.
Source§impl From<u8> for CallSiteFlags
impl From<u8> for CallSiteFlags
Source§impl Hash for CallSiteFlags
impl Hash for CallSiteFlags
Source§impl Ord for CallSiteFlags
impl Ord for CallSiteFlags
Source§fn cmp(&self, other: &CallSiteFlags) -> Ordering
fn cmp(&self, other: &CallSiteFlags) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CallSiteFlags
impl PartialEq for CallSiteFlags
Source§impl PartialOrd for CallSiteFlags
impl PartialOrd for CallSiteFlags
impl StructuralPartialEq for CallSiteFlags
Auto Trait Implementations§
impl Freeze for CallSiteFlags
impl RefUnwindSafe for CallSiteFlags
impl Send for CallSiteFlags
impl Sync for CallSiteFlags
impl Unpin for CallSiteFlags
impl UnsafeUnpin for CallSiteFlags
impl UnwindSafe for CallSiteFlags
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