pub struct PhantomSize {
pub width: f64,
pub height: f64,
}Expand description
Size of a phantom.
Fields§
§width: f64Width.
height: f64Height.
Implementations§
Trait Implementations§
Source§impl Clone for PhantomSize
impl Clone for PhantomSize
Source§fn clone(&self) -> PhantomSize
fn clone(&self) -> PhantomSize
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 PhantomSize
impl Debug for PhantomSize
Source§impl<'de> Deserialize<'de> for PhantomSize
impl<'de> Deserialize<'de> for PhantomSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PhantomSize
impl PartialEq for PhantomSize
Source§impl Serialize for PhantomSize
impl Serialize for PhantomSize
impl Copy for PhantomSize
impl StructuralPartialEq for PhantomSize
Auto Trait Implementations§
impl Freeze for PhantomSize
impl RefUnwindSafe for PhantomSize
impl Send for PhantomSize
impl Sync for PhantomSize
impl Unpin for PhantomSize
impl UnsafeUnpin for PhantomSize
impl UnwindSafe for PhantomSize
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