#[repr(C, packed(1))]pub struct UiTreeItemStateT {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
Source§impl UiTreeItemStateT
impl UiTreeItemStateT
pub fn can_expand(&self) -> bool
pub fn set_can_expand(&mut self, val: bool)
pub fn expanded(&self) -> bool
pub fn set_expanded(&mut self, val: bool)
pub fn can_select(&self) -> bool
pub fn set_can_select(&mut self, val: bool)
pub fn selected(&self) -> bool
pub fn set_selected(&mut self, val: bool)
pub fn padding(&self) -> u8
pub fn set_padding(&mut self, val: u8)
pub fn new_bitfield_1( can_expand: bool, expanded: bool, can_select: bool, selected: bool, padding: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for UiTreeItemStateT
impl Clone for UiTreeItemStateT
Source§fn clone(&self) -> UiTreeItemStateT
fn clone(&self) -> UiTreeItemStateT
Returns a duplicate 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 Default for UiTreeItemStateT
impl Default for UiTreeItemStateT
Source§fn default() -> UiTreeItemStateT
fn default() -> UiTreeItemStateT
Returns the “default value” for a type. Read more
impl Copy for UiTreeItemStateT
Auto Trait Implementations§
impl Freeze for UiTreeItemStateT
impl RefUnwindSafe for UiTreeItemStateT
impl Send for UiTreeItemStateT
impl Sync for UiTreeItemStateT
impl Unpin for UiTreeItemStateT
impl UnwindSafe for UiTreeItemStateT
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