#[repr(C)]pub struct UiTreeItemResT {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub _padding_109: [c_char; 2],
pub item_rect: RectT,
pub _padding_113: [c_char; 4],
pub item_id: u64,
}Fields§
§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§_padding_109: [c_char; 2]§item_rect: RectT§_padding_113: [c_char; 4]§item_id: u64Implementations§
Source§impl UiTreeItemResT
impl UiTreeItemResT
pub fn expanded(&self) -> bool
pub fn set_expanded(&mut self, val: bool)
pub fn expanded_changed(&self) -> bool
pub fn set_expanded_changed(&mut self, val: bool)
pub fn selected(&self) -> bool
pub fn set_selected(&mut self, val: bool)
pub fn selected_changed(&self) -> bool
pub fn set_selected_changed(&mut self, val: bool)
pub fn clicked(&self) -> bool
pub fn set_clicked(&mut self, val: bool)
pub fn double_clicked(&self) -> bool
pub fn set_double_clicked(&mut self, val: bool)
pub fn visible(&self) -> bool
pub fn set_visible(&mut self, val: bool)
pub fn deselect_others(&self) -> bool
pub fn set_deselect_others(&mut self, val: bool)
pub fn select_range(&self) -> bool
pub fn set_select_range(&mut self, val: bool)
pub fn hovered(&self) -> bool
pub fn set_hovered(&mut self, val: bool)
pub fn padding(&self) -> u8
pub fn set_padding(&mut self, val: u8)
pub fn new_bitfield_1( expanded: bool, expanded_changed: bool, selected: bool, selected_changed: bool, clicked: bool, double_clicked: bool, visible: bool, deselect_others: bool, select_range: bool, hovered: bool, padding: u8, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiTreeItemResT
impl RefUnwindSafe for UiTreeItemResT
impl Send for UiTreeItemResT
impl Sync for UiTreeItemResT
impl Unpin for UiTreeItemResT
impl UnwindSafe for UiTreeItemResT
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