Struct rbx_types::NumberRange
source · pub struct NumberRange {
pub min: f32,
pub max: f32,
}
Expand description
Fields§
§min: f32
§max: f32
Implementations§
Trait Implementations§
source§impl Clone for NumberRange
impl Clone for NumberRange
source§fn clone(&self) -> NumberRange
fn clone(&self) -> NumberRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NumberRange
impl Debug for NumberRange
source§impl From<NumberRange> for Variant
impl From<NumberRange> for Variant
source§fn from(value: NumberRange) -> Self
fn from(value: NumberRange) -> Self
Converts to this type from the input type.
source§impl PartialEq for NumberRange
impl PartialEq for NumberRange
source§fn eq(&self, other: &NumberRange) -> bool
fn eq(&self, other: &NumberRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NumberRange
impl StructuralPartialEq for NumberRange
Auto Trait Implementations§
impl RefUnwindSafe for NumberRange
impl Send for NumberRange
impl Sync for NumberRange
impl Unpin for NumberRange
impl UnwindSafe for NumberRange
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