Struct chargrid_ggez::Dimensions
source · pub struct Dimensions<T> {
pub width: T,
pub height: T,
}
Fields§
§width: T
§height: T
Trait Implementations§
source§impl<T: Clone> Clone for Dimensions<T>
impl<T: Clone> Clone for Dimensions<T>
source§fn clone(&self) -> Dimensions<T>
fn clone(&self) -> Dimensions<T>
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<T: Debug> Debug for Dimensions<T>
impl<T: Debug> Debug for Dimensions<T>
impl<T: Copy> Copy for Dimensions<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Dimensions<T>where
T: RefUnwindSafe,
impl<T> Send for Dimensions<T>where
T: Send,
impl<T> Sync for Dimensions<T>where
T: Sync,
impl<T> Unpin for Dimensions<T>where
T: Unpin,
impl<T> UnwindSafe for Dimensions<T>where
T: UnwindSafe,
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
source§impl<T> HasMut<T> for T
impl<T> HasMut<T> for T
source§fn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.