#[repr(C)]pub struct GlyphRect {
pub m_x: i32,
pub m_y: i32,
pub m_width: i32,
pub m_height: i32,
}Expand description
Fields§
§m_x: i32§m_y: i32§m_width: i32§m_height: i32Implementations§
Source§impl GlyphRect
impl GlyphRect
pub fn s_zero_glyph_rect() -> GlyphRect
pub fn set_s_zero_glyph_rect(value: GlyphRect)
Source§impl GlyphRect
impl GlyphRect
Sourcepub fn get_height(&mut self) -> i32
pub fn get_height(&mut self) -> i32
get_height() overload
Sourcepub fn ctor(
&mut self,
x: impl Into<i32>,
y: impl Into<i32>,
width: impl Into<i32>,
height: impl Into<i32>,
)
pub fn ctor( &mut self, x: impl Into<i32>, y: impl Into<i32>, width: impl Into<i32>, height: impl Into<i32>, )
.ctor(i32, i32, i32, i32) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl GlyphRect
impl GlyphRect
pub fn get_x_method_info() -> &'static MethodInfo
pub fn get_y_method_info() -> &'static MethodInfo
pub fn get_width_method_info() -> &'static MethodInfo
pub fn get_height_method_info() -> &'static MethodInfo
pub fn get_zero_method_info() -> &'static MethodInfo
pub fn ctor_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
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for GlyphRect
impl ClassIdentity for GlyphRect
impl Copy for GlyphRect
Auto Trait Implementations§
impl Freeze for GlyphRect
impl RefUnwindSafe for GlyphRect
impl Send for GlyphRect
impl Sync for GlyphRect
impl Unpin for GlyphRect
impl UnwindSafe for GlyphRect
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)