[][src]Struct egui::paint::font::UvRect

pub struct UvRect {
    pub offset: Vec2,
    pub size: Vec2,
    pub min: (u16, u16),
    pub max: (u16, u16),
}

Fields

offset: Vec2

X/Y offset for nice rendering (unit: points).

size: Vec2min: (u16, u16)

Top left corner UV in texture.

max: (u16, u16)

Bottom right corner (exclusive).

Trait Implementations

impl Clone for UvRect[src]

impl Copy for UvRect[src]

impl Debug for UvRect[src]

Auto Trait Implementations

impl RefUnwindSafe for UvRect

impl Send for UvRect

impl Sync for UvRect

impl Unpin for UvRect

impl UnwindSafe for UvRect

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.