[−][src]Struct glyph_brush_draw_cache::Rectangle
A rectangle, with top-left corner at min, and bottom-right corner at max.
Fields
min: [N; 2]
max: [N; 2]
Implementations
impl<N: Sub<Output = N> + Copy> Rectangle<N>
[src]
Trait Implementations
impl<N: Clone> Clone for Rectangle<N>
[src]
impl<N: Copy> Copy for Rectangle<N>
[src]
impl<N: Debug> Debug for Rectangle<N>
[src]
impl<N: Default> Default for Rectangle<N>
[src]
impl<N: Eq> Eq for Rectangle<N>
[src]
impl<N: Hash> Hash for Rectangle<N>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<N: Ord> Ord for Rectangle<N>
[src]
fn cmp(&self, other: &Rectangle<N>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<N: PartialEq> PartialEq<Rectangle<N>> for Rectangle<N>
[src]
impl<N: PartialOrd> PartialOrd<Rectangle<N>> for Rectangle<N>
[src]
fn partial_cmp(&self, other: &Rectangle<N>) -> Option<Ordering>
[src]
fn lt(&self, other: &Rectangle<N>) -> bool
[src]
fn le(&self, other: &Rectangle<N>) -> bool
[src]
fn gt(&self, other: &Rectangle<N>) -> bool
[src]
fn ge(&self, other: &Rectangle<N>) -> bool
[src]
impl<N> StructuralEq for Rectangle<N>
[src]
impl<N> StructuralPartialEq for Rectangle<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for Rectangle<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for Rectangle<N> where
N: Send,
N: Send,
impl<N> Sync for Rectangle<N> where
N: Sync,
N: Sync,
impl<N> Unpin for Rectangle<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for Rectangle<N> where
N: UnwindSafe,
N: UnwindSafe,
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> Pointable for T
const ALIGN: usize
type Init = T
The type for initializers.
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)
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>,