Struct cairo::RectangleInt
source · [−]Fields
x: i32
y: i32
width: i32
height: i32
Implementations
sourceimpl RectangleInt
impl RectangleInt
pub fn to_raw_none(&self) -> *mut cairo_rectangle_int_t
Trait Implementations
sourceimpl Clone for RectangleInt
impl Clone for RectangleInt
sourcefn clone(&self) -> RectangleInt
fn clone(&self) -> RectangleInt
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RectangleInt
impl Debug for RectangleInt
sourceimpl Display for RectangleInt
impl Display for RectangleInt
sourceimpl<'a> FromValue<'a> for RectangleInt
impl<'a> FromValue<'a> for RectangleInt
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl Hash for RectangleInt
impl Hash for RectangleInt
sourceimpl PartialEq<RectangleInt> for RectangleInt
impl PartialEq<RectangleInt> for RectangleInt
sourcefn eq(&self, other: &RectangleInt) -> bool
fn eq(&self, other: &RectangleInt) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RectangleInt) -> bool
fn ne(&self, other: &RectangleInt) -> bool
This method tests for !=
.
sourceimpl StaticType for RectangleInt
impl StaticType for RectangleInt
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl ToValue for RectangleInt
impl ToValue for RectangleInt
sourceimpl ToValueOptional for RectangleInt
impl ToValueOptional for RectangleInt
sourcefn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an Option
to a Value
.
sourceimpl ValueType for RectangleInt
impl ValueType for RectangleInt
impl Copy for RectangleInt
impl Eq for RectangleInt
impl StructuralEq for RectangleInt
impl StructuralPartialEq for RectangleInt
Auto Trait Implementations
impl RefUnwindSafe for RectangleInt
impl Send for RectangleInt
impl Sync for RectangleInt
impl Unpin for RectangleInt
impl UnwindSafe for RectangleInt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.