[−][src]Struct sciter::types::RECT
Defines the coordinates of the upper-left and lower-right corners of a rectangle.
Fields
left: LONG
top: LONG
right: LONG
bottom: LONG
Methods
impl RECT
[src]
pub fn height(&self) -> LONG
[src]
Calculate height of rect.
pub fn width(&self) -> LONG
[src]
Calculate width of rect.
pub fn size(&self) -> SIZE
[src]
Return the size of rect in width and height form.
pub fn topleft(&self) -> POINT
[src]
Returns the top-left point of rect.
Trait Implementations
impl Clone for RECT
[src]
impl Copy for RECT
[src]
impl Debug for RECT
[src]
impl Default for RECT
[src]
impl PartialEq<RECT> for RECT
[src]
impl StructuralPartialEq for RECT
[src]
Auto Trait Implementations
impl RefUnwindSafe for RECT
impl Send for RECT
impl Sync for RECT
impl Unpin for RECT
impl UnwindSafe for RECT
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,