#[repr(C)]pub struct TMP_Offset {
pub m_left: f32,
pub m_right: f32,
pub m_top: f32,
pub m_bottom: f32,
}Expand description
Fields§
§m_left: f32§m_right: f32§m_top: f32§m_bottom: f32Implementations§
Source§impl TMP_Offset
impl TMP_Offset
pub fn k_zero_offset() -> TMP_Offset
pub fn set_k_zero_offset(value: TMP_Offset)
Source§impl TMP_Offset
impl TMP_Offset
Sourcepub fn get_zero() -> TMP_Offset
pub fn get_zero() -> TMP_Offset
get_zero() overload
Sourcepub fn op_equality(
lhs: impl Into<TMP_Offset>,
rhs: impl Into<TMP_Offset>,
) -> bool
pub fn op_equality( lhs: impl Into<TMP_Offset>, rhs: impl Into<TMP_Offset>, ) -> bool
op_Equality(crate::tm_pro::tmp_offset::TMP_Offset, crate::tm_pro::tmp_offset::TMP_Offset) overload
Sourcepub fn op_inequality(
lhs: impl Into<TMP_Offset>,
rhs: impl Into<TMP_Offset>,
) -> bool
pub fn op_inequality( lhs: impl Into<TMP_Offset>, rhs: impl Into<TMP_Offset>, ) -> bool
op_Inequality(crate::tm_pro::tmp_offset::TMP_Offset, crate::tm_pro::tmp_offset::TMP_Offset) overload
Sourcepub fn op_multiply(a: impl Into<TMP_Offset>, b: impl Into<f32>) -> TMP_Offset
pub fn op_multiply(a: impl Into<TMP_Offset>, b: impl Into<f32>) -> TMP_Offset
op_Multiply(crate::tm_pro::tmp_offset::TMP_Offset, f32) overload
Source§impl TMP_Offset
impl TMP_Offset
Sourcepub fn get_bottom(&mut self) -> f32
pub fn get_bottom(&mut self) -> f32
get_bottom() overload
Sourcepub fn set_bottom(&mut self, value: impl Into<f32>)
pub fn set_bottom(&mut self, value: impl Into<f32>)
set_bottom(f32) overload
Sourcepub fn get_horizontal(&mut self) -> f32
pub fn get_horizontal(&mut self) -> f32
get_horizontal() overload
Sourcepub fn set_horizontal(&mut self, value: impl Into<f32>)
pub fn set_horizontal(&mut self, value: impl Into<f32>)
set_horizontal(f32) overload
Sourcepub fn get_vertical(&mut self) -> f32
pub fn get_vertical(&mut self) -> f32
get_vertical() overload
Sourcepub fn set_vertical(&mut self, value: impl Into<f32>)
pub fn set_vertical(&mut self, value: impl Into<f32>)
set_vertical(f32) overload
Sourcepub fn ctor(
&mut self,
left: impl Into<f32>,
right: impl Into<f32>,
top: impl Into<f32>,
bottom: impl Into<f32>,
)
pub fn ctor( &mut self, left: impl Into<f32>, right: impl Into<f32>, top: impl Into<f32>, bottom: impl Into<f32>, )
.ctor(f32, f32, f32, f32) overload
Sourcepub fn ctor_2(&mut self, horizontal: impl Into<f32>, vertical: impl Into<f32>)
pub fn ctor_2(&mut self, horizontal: impl Into<f32>, vertical: impl Into<f32>)
.ctor(f32, f32) 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<TMP_Offset>) -> bool
pub fn equals_2(&mut self, other: impl Into<TMP_Offset>) -> bool
Equals(crate::tm_pro::tmp_offset::TMP_Offset) overload
Source§impl TMP_Offset
impl TMP_Offset
pub fn get_left_method_info() -> &'static MethodInfo
pub fn set_left_method_info() -> &'static MethodInfo
pub fn get_right_method_info() -> &'static MethodInfo
pub fn set_right_method_info() -> &'static MethodInfo
pub fn get_top_method_info() -> &'static MethodInfo
pub fn set_top_method_info() -> &'static MethodInfo
pub fn get_bottom_method_info() -> &'static MethodInfo
pub fn set_bottom_method_info() -> &'static MethodInfo
pub fn get_horizontal_method_info() -> &'static MethodInfo
pub fn set_horizontal_method_info() -> &'static MethodInfo
pub fn get_vertical_method_info() -> &'static MethodInfo
pub fn set_vertical_method_info() -> &'static MethodInfo
pub fn get_zero_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
pub fn op_equality_method_info() -> &'static MethodInfo
pub fn op_inequality_method_info() -> &'static MethodInfo
pub fn op_multiply_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 TMP_Offset
impl ClassIdentity for TMP_Offset
Source§impl Clone for TMP_Offset
impl Clone for TMP_Offset
Source§fn clone(&self) -> TMP_Offset
fn clone(&self) -> TMP_Offset
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_Offset
Auto Trait Implementations§
impl Freeze for TMP_Offset
impl RefUnwindSafe for TMP_Offset
impl Send for TMP_Offset
impl Sync for TMP_Offset
impl Unpin for TMP_Offset
impl UnwindSafe for TMP_Offset
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)