#[repr(C)]pub struct 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 GlyphValueRecord
impl GlyphValueRecord
Sourcepub fn get_x_placement(&mut self) -> f32
pub fn get_x_placement(&mut self) -> f32
get_xPlacement() overload
Sourcepub fn get_y_placement(&mut self) -> f32
pub fn get_y_placement(&mut self) -> f32
get_yPlacement() overload
Sourcepub fn get_x_advance(&mut self) -> f32
pub fn get_x_advance(&mut self) -> f32
get_xAdvance() overload
Sourcepub fn get_y_advance(&mut self) -> f32
pub fn get_y_advance(&mut self) -> f32
get_yAdvance() overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn equals(&mut self, obj: impl Into<Object>) -> bool
pub fn equals(&mut self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<GlyphValueRecord>) -> bool
pub fn equals_2(&mut self, other: impl Into<GlyphValueRecord>) -> bool
Equals(crate::unity_engine::text_core::low_level::glyphvaluerecord::GlyphValueRecord) overload
Source§impl GlyphValueRecord
impl GlyphValueRecord
pub fn get_x_placement_method_info() -> &'static MethodInfo
pub fn get_y_placement_method_info() -> &'static MethodInfo
pub fn get_x_advance_method_info() -> &'static MethodInfo
pub fn get_y_advance_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for GlyphValueRecord
impl ClassIdentity for GlyphValueRecord
Source§impl Clone for GlyphValueRecord
impl Clone for GlyphValueRecord
Source§fn clone(&self) -> GlyphValueRecord
fn clone(&self) -> 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 GlyphValueRecord
Auto Trait Implementations§
impl Freeze for GlyphValueRecord
impl RefUnwindSafe for GlyphValueRecord
impl Send for GlyphValueRecord
impl Sync for GlyphValueRecord
impl Unpin for GlyphValueRecord
impl UnwindSafe for 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)