UiTabbarItemT

Struct UiTabbarItemT 

Source
#[repr(C)]
pub struct UiTabbarItemT {
Show 15 fields pub text: *const c_char, pub id: u64, pub has_close_box: bool, pub has_pin: bool, pub _padding_736: [c_char; 2], pub pin_type: UiTabPinType, pub has_border_color: bool, pub _padding_741: [c_char; 3], pub border_color: ColorSrgbT, pub disable_drag: bool, pub _padding_746: [c_char; 3], pub out_text_rect: RectT, pub _padding_750: [c_char; 4], pub icon: u32, pub _padding_754: [c_char; 4],
}

Fields§

§text: *const c_char§id: u64§has_close_box: bool§has_pin: bool§_padding_736: [c_char; 2]§pin_type: UiTabPinType§has_border_color: bool§_padding_741: [c_char; 3]§border_color: ColorSrgbT§disable_drag: bool§_padding_746: [c_char; 3]§out_text_rect: RectT§_padding_750: [c_char; 4]§icon: u32§_padding_754: [c_char; 4]

Trait Implementations§

Source§

impl Default for UiTabbarItemT

Source§

fn default() -> Self

Returns the “default value” for a type. 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> 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, 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.