imgui::c

Struct ImGuiTableColumn

#[repr(C)]
pub struct ImGuiTableColumn {
Show 40 fields pub Flags: i32, pub WidthGiven: f32, pub MinX: f32, pub MaxX: f32, pub WidthRequest: f32, pub WidthAuto: f32, pub StretchWeight: f32, pub InitStretchWeightOrWidth: f32, pub ClipRect: ImRect, pub UserID: u32, pub WorkMinX: f32, pub WorkMaxX: f32, pub ItemWidth: f32, pub ContentMaxXFrozen: f32, pub ContentMaxXUnfrozen: f32, pub ContentMaxXHeadersUsed: f32, pub ContentMaxXHeadersIdeal: f32, pub NameOffset: i16, pub DisplayOrder: i16, pub IndexWithinEnabledSet: i16, pub PrevEnabledColumn: i16, pub NextEnabledColumn: i16, pub SortOrder: i16, pub DrawChannelCurrent: u16, pub DrawChannelFrozen: u16, pub DrawChannelUnfrozen: u16, pub IsEnabled: bool, pub IsUserEnabled: bool, pub IsUserEnabledNextFrame: bool, pub IsVisibleX: bool, pub IsVisibleY: bool, pub IsRequestOutput: bool, pub IsSkipItems: bool, pub IsPreserveWidthAuto: bool, pub NavLayerCurrent: i8, pub AutoFitQueue: u8, pub CannotSkipItemsQueue: u8, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub SortDirectionsAvailList: u8,
}

Fields§

§Flags: i32§WidthGiven: f32§MinX: f32§MaxX: f32§WidthRequest: f32§WidthAuto: f32§StretchWeight: f32§InitStretchWeightOrWidth: f32§ClipRect: ImRect§UserID: u32§WorkMinX: f32§WorkMaxX: f32§ItemWidth: f32§ContentMaxXFrozen: f32§ContentMaxXUnfrozen: f32§ContentMaxXHeadersUsed: f32§ContentMaxXHeadersIdeal: f32§NameOffset: i16§DisplayOrder: i16§IndexWithinEnabledSet: i16§PrevEnabledColumn: i16§NextEnabledColumn: i16§SortOrder: i16§DrawChannelCurrent: u16§DrawChannelFrozen: u16§DrawChannelUnfrozen: u16§IsEnabled: bool§IsUserEnabled: bool§IsUserEnabledNextFrame: bool§IsVisibleX: bool§IsVisibleY: bool§IsRequestOutput: bool§IsSkipItems: bool§IsPreserveWidthAuto: bool§NavLayerCurrent: i8§AutoFitQueue: u8§CannotSkipItemsQueue: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§SortDirectionsAvailList: u8

Implementations§

§

impl ImGuiTableColumn

pub fn SortDirection(&self) -> u8

pub fn set_SortDirection(&mut self, val: u8)

pub fn SortDirectionsAvailCount(&self) -> u8

pub fn set_SortDirectionsAvailCount(&mut self, val: u8)

pub fn SortDirectionsAvailMask(&self) -> u8

pub fn set_SortDirectionsAvailMask(&mut self, val: u8)

pub fn new_bitfield_1( SortDirection: u8, SortDirectionsAvailCount: u8, SortDirectionsAvailMask: u8, ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

§

impl Clone for ImGuiTableColumn

§

fn clone(&self) -> ImGuiTableColumn

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ImGuiTableColumn

§

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

Formats the value using the given formatter. Read more
§

impl Copy for ImGuiTableColumn

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> 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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

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> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.