#[repr(C)]pub struct TMP_GlyphValueRecord {
pub m_x_placement: f32,
pub m_y_placement: f32,
pub m_x_advance: f32,
pub m_y_advance: f32,
}Expand description
Fields§
§m_x_placement: f32§m_y_placement: f32§m_x_advance: f32§m_y_advance: f32Implementations§
Source§impl TMP_GlyphValueRecord
impl TMP_GlyphValueRecord
Sourcepub fn op_addition(
a: impl Into<TMP_GlyphValueRecord>,
b: impl Into<TMP_GlyphValueRecord>,
) -> TMP_GlyphValueRecord
pub fn op_addition( a: impl Into<TMP_GlyphValueRecord>, b: impl Into<TMP_GlyphValueRecord>, ) -> TMP_GlyphValueRecord
op_Addition(crate::tm_pro::tmp_glyphvaluerecord::TMP_GlyphValueRecord, crate::tm_pro::tmp_glyphvaluerecord::TMP_GlyphValueRecord) overload
Source§impl TMP_GlyphValueRecord
impl TMP_GlyphValueRecord
Sourcepub fn get_x_placement(&mut self) -> f32
pub fn get_x_placement(&mut self) -> f32
get_xPlacement() overload
Sourcepub fn set_x_placement(&mut self, value: impl Into<f32>)
pub fn set_x_placement(&mut self, value: impl Into<f32>)
set_xPlacement(f32) overload
Sourcepub fn get_y_placement(&mut self) -> f32
pub fn get_y_placement(&mut self) -> f32
get_yPlacement() overload
Sourcepub fn set_y_placement(&mut self, value: impl Into<f32>)
pub fn set_y_placement(&mut self, value: impl Into<f32>)
set_yPlacement(f32) overload
Sourcepub fn get_x_advance(&mut self) -> f32
pub fn get_x_advance(&mut self) -> f32
get_xAdvance() overload
Sourcepub fn set_x_advance(&mut self, value: impl Into<f32>)
pub fn set_x_advance(&mut self, value: impl Into<f32>)
set_xAdvance(f32) overload
Sourcepub fn get_y_advance(&mut self) -> f32
pub fn get_y_advance(&mut self) -> f32
get_yAdvance() overload
Sourcepub fn set_y_advance(&mut self, value: impl Into<f32>)
pub fn set_y_advance(&mut self, value: impl Into<f32>)
set_yAdvance(f32) overload
Sourcepub fn ctor(
&mut self,
x_placement: impl Into<f32>,
y_placement: impl Into<f32>,
x_advance: impl Into<f32>,
y_advance: impl Into<f32>,
)
pub fn ctor( &mut self, x_placement: impl Into<f32>, y_placement: impl Into<f32>, x_advance: impl Into<f32>, y_advance: impl Into<f32>, )
.ctor(f32, f32, f32, f32) overload
Sourcepub fn ctor_2(&mut self, value_record: impl Into<GlyphValueRecord_Legacy>)
pub fn ctor_2(&mut self, value_record: impl Into<GlyphValueRecord_Legacy>)
.ctor(crate::tm_pro::glyphvaluerecord_legacy::GlyphValueRecord_Legacy) overload
Sourcepub fn ctor_3(&mut self, value_record: impl Into<GlyphValueRecord>)
pub fn ctor_3(&mut self, value_record: impl Into<GlyphValueRecord>)
.ctor(crate::unity_engine::text_core::low_level::glyphvaluerecord::GlyphValueRecord) overload
Source§impl TMP_GlyphValueRecord
impl TMP_GlyphValueRecord
pub fn get_x_placement_method_info() -> &'static MethodInfo
pub fn set_x_placement_method_info() -> &'static MethodInfo
pub fn get_y_placement_method_info() -> &'static MethodInfo
pub fn set_y_placement_method_info() -> &'static MethodInfo
pub fn get_x_advance_method_info() -> &'static MethodInfo
pub fn set_x_advance_method_info() -> &'static MethodInfo
pub fn get_y_advance_method_info() -> &'static MethodInfo
pub fn set_y_advance_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
pub fn ctor_3_method_info() -> &'static MethodInfo
pub fn op_addition_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for TMP_GlyphValueRecord
impl ClassIdentity for TMP_GlyphValueRecord
Source§impl Clone for TMP_GlyphValueRecord
impl Clone for TMP_GlyphValueRecord
Source§fn clone(&self) -> TMP_GlyphValueRecord
fn clone(&self) -> TMP_GlyphValueRecord
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TMP_GlyphValueRecord
Auto Trait Implementations§
impl Freeze for TMP_GlyphValueRecord
impl RefUnwindSafe for TMP_GlyphValueRecord
impl Send for TMP_GlyphValueRecord
impl Sync for TMP_GlyphValueRecord
impl Unpin for TMP_GlyphValueRecord
impl UnwindSafe for TMP_GlyphValueRecord
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)