#[repr(C, packed(4))]pub struct TextVars {Show 14 fields
pub text: [i8; 512],
pub text_font: Pointer<VFont>,
pub text_blf_id: i32,
pub text_size: f32,
pub color: [f32; 4],
pub shadow_color: [f32; 4],
pub box_color: [f32; 4],
pub loc: [f32; 2],
pub wrap_width: f32,
pub box_margin: f32,
pub flag: i8,
pub align: i8,
pub align_y: i8,
pub _pad: [i8; 5],
}Fields§
§text: [i8; 512]§text_font: Pointer<VFont>§text_blf_id: i32§text_size: f32§color: [f32; 4]§shadow_color: [f32; 4]§box_color: [f32; 4]§loc: [f32; 2]§wrap_width: f32§box_margin: f32§flag: i8§align: i8§align_y: i8§_pad: [i8; 5]Trait Implementations§
Source§impl GeneratedBlendStruct for TextVars
impl GeneratedBlendStruct for TextVars
const BLEND_VERSION: Version
const BLEND_POINTER_SIZE: usize = 8usize
const BLEND_ENDIANNESS: Endianness = Endianness::Little
const STRUCT_NAME: &'static str = "TextVars"
const STRUCT_INDEX: usize = 333usize
const STRUCT_TYPE_INDEX: usize = 467usize
const IS_SYNTHETIC: bool = false
impl PointerTarget<TextVars> for TextVars
Auto Trait Implementations§
impl Freeze for TextVars
impl RefUnwindSafe for TextVars
impl Send for TextVars
impl Sync for TextVars
impl Unpin for TextVars
impl UnwindSafe for TextVars
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