pub struct Rectangle { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AsRef<RectangleInt> for Rectangle
impl AsRef<RectangleInt> for Rectangle
source§fn as_ref(&self) -> &RectangleInt
fn as_ref(&self) -> &RectangleInt
Converts this type into a shared reference of the (usually inferred) input type.
source§impl From<RectangleInt> for Rectangle
impl From<RectangleInt> for Rectangle
source§fn from(r: RectangleInt) -> Rectangle
fn from(r: RectangleInt) -> Rectangle
Converts to this type from the input type.
source§impl StaticType for Rectangle
impl StaticType for Rectangle
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for Rectangle
impl Eq for Rectangle
Auto Trait Implementations§
impl RefUnwindSafe for Rectangle
impl Send for Rectangle
impl Sync for Rectangle
impl Unpin for Rectangle
impl UnwindSafe for Rectangle
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.