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
impl UdtProperties
pub fn packed(&self) -> bool
pub fn ctor(&self) -> bool
pub fn ovlops(&self) -> bool
pub fn isnested(&self) -> bool
pub fn cnested(&self) -> bool
pub fn opassign(&self) -> bool
pub fn opcast(&self) -> bool
pub fn fwdref(&self) -> bool
pub fn scoped(&self) -> bool
pub fn hasuniquename(&self) -> bool
pub fn sealed(&self) -> bool
pub fn hfa(&self) -> u16
pub fn intrinsic(&self) -> bool
pub fn mocom(&self) -> bool
pub fn set_packed(&mut self, value: bool)
pub fn set_ctor(&mut self, value: bool)
pub fn set_ovlops(&mut self, value: bool)
pub fn set_isnested(&mut self, value: bool)
pub fn set_cnested(&mut self, value: bool)
pub fn set_opassign(&mut self, value: bool)
pub fn set_opcast(&mut self, value: bool)
pub fn set_fwdref(&mut self, value: bool)
pub fn set_scoped(&mut self, value: bool)
pub fn set_hasuniquename(&mut self, value: bool)
pub fn set_sealed(&mut self, value: bool)
pub fn set_hfa(&mut self, value: u16)
pub fn set_intrinsic(&mut self, value: bool)
pub fn set_mocom(&mut self, value: bool)
Trait Implementations§
Source§impl<T> BitRange<T> for UdtProperties
impl<T> BitRange<T> for UdtProperties
Source§impl<T> BitRangeMut<T> for UdtPropertieswhere
u16: BitRangeMut<T>,
impl<T> BitRangeMut<T> for UdtPropertieswhere
u16: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Auto Trait Implementations§
impl Freeze for UdtProperties
impl RefUnwindSafe for UdtProperties
impl Send for UdtProperties
impl Sync for UdtProperties
impl Unpin for UdtProperties
impl UnwindSafe for UdtProperties
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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