Struct i_slint_compiler::embedded_resources::Rect
source · [−]pub struct Rect { /* private fields */ }
Expand description
An integer rectangle.
Guarantees
- Width and height are in 1..=i32::MAX range.
- x+width and y+height does not overflow.
Implementations
Trait Implementations
impl Copy for IntRect
impl StructuralPartialEq for IntRect
Auto Trait Implementations
impl RefUnwindSafe for IntRect
impl Send for IntRect
impl Sync for IntRect
impl Unpin for IntRect
impl UnwindSafe for IntRect
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
impl<T> Pointable for T
impl<T> Pointable for T
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