pub struct ComponentRange {
pub min: u32,
pub max: u32,
}
Expand description
Inclusive range of a component.
Fields§
§min: u32
§max: u32
Trait Implementations§
Source§impl Clone for ComponentRange
impl Clone for ComponentRange
Source§fn clone(&self) -> ComponentRange
fn clone(&self) -> ComponentRange
Returns a duplicate 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 ComponentRange
impl Debug for ComponentRange
Source§impl PartialEq for ComponentRange
impl PartialEq for ComponentRange
impl Copy for ComponentRange
impl Eq for ComponentRange
impl StructuralPartialEq for ComponentRange
Auto Trait Implementations§
impl Freeze for ComponentRange
impl RefUnwindSafe for ComponentRange
impl Send for ComponentRange
impl Sync for ComponentRange
impl Unpin for ComponentRange
impl UnwindSafe for ComponentRange
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