pub struct OwnedPrimitive {
pub kind: OwnedPrimitiveKind,
pub rect: Rect,
}Fields§
§kind: OwnedPrimitiveKind§rect: RectTrait Implementations§
Source§impl Clone for OwnedPrimitive
impl Clone for OwnedPrimitive
Source§fn clone(&self) -> OwnedPrimitive
fn clone(&self) -> OwnedPrimitive
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 moreAuto Trait Implementations§
impl Freeze for OwnedPrimitive
impl RefUnwindSafe for OwnedPrimitive
impl Send for OwnedPrimitive
impl Sync for OwnedPrimitive
impl Unpin for OwnedPrimitive
impl UnwindSafe for OwnedPrimitive
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