Struct UdtProperties

Source
pub struct UdtProperties(pub u16);
Expand description

Bit field structure describing class/struct/union/enum properties

See CV_prop_t in cvinfo.h.

Tuple Fields§

§0: u16

Implementations§

Source§

impl UdtProperties

Source

pub fn packed(&self) -> bool

Source

pub fn ctor(&self) -> bool

Source

pub fn ovlops(&self) -> bool

Source

pub fn isnested(&self) -> bool

Source

pub fn cnested(&self) -> bool

Source

pub fn opassign(&self) -> bool

Source

pub fn opcast(&self) -> bool

Source

pub fn fwdref(&self) -> bool

Source

pub fn scoped(&self) -> bool

Source

pub fn hasuniquename(&self) -> bool

Source

pub fn sealed(&self) -> bool

Source

pub fn hfa(&self) -> u16

Source

pub fn intrinsic(&self) -> bool

Source

pub fn mocom(&self) -> bool

Source

pub fn set_packed(&mut self, value: bool)

Source

pub fn set_ctor(&mut self, value: bool)

Source

pub fn set_ovlops(&mut self, value: bool)

Source

pub fn set_isnested(&mut self, value: bool)

Source

pub fn set_cnested(&mut self, value: bool)

Source

pub fn set_opassign(&mut self, value: bool)

Source

pub fn set_opcast(&mut self, value: bool)

Source

pub fn set_fwdref(&mut self, value: bool)

Source

pub fn set_scoped(&mut self, value: bool)

Source

pub fn set_hasuniquename(&mut self, value: bool)

Source

pub fn set_sealed(&mut self, value: bool)

Source

pub fn set_hfa(&mut self, value: u16)

Source

pub fn set_intrinsic(&mut self, value: bool)

Source

pub fn set_mocom(&mut self, value: bool)

Trait Implementations§

Source§

impl<T> BitRange<T> for UdtProperties
where u16: BitRange<T>,

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> T

Get a range of bits.
Source§

impl<T> BitRangeMut<T> for UdtProperties
where u16: BitRangeMut<T>,

Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)

Set a range of bits.
Source§

impl Debug for UdtProperties

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Bit for T
where T: BitRange<u8>,

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

impl<T> BitMut for T
where T: BitRangeMut<u8>,

Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more