pub struct TextureDomain {
pub storage_size: Size,
pub display_rect: RectI,
pub data_rect: RectI,
}Fields§
§storage_size: Size§display_rect: RectI§data_rect: RectIImplementations§
Source§impl TextureDomain
impl TextureDomain
pub const fn full_frame(size: Size) -> Self
Trait Implementations§
Source§impl Clone for TextureDomain
impl Clone for TextureDomain
impl Copy for TextureDomain
Source§impl Debug for TextureDomain
impl Debug for TextureDomain
impl Eq for TextureDomain
Source§impl PartialEq for TextureDomain
impl PartialEq for TextureDomain
impl StructuralPartialEq for TextureDomain
Auto Trait Implementations§
impl Freeze for TextureDomain
impl RefUnwindSafe for TextureDomain
impl Send for TextureDomain
impl Sync for TextureDomain
impl Unpin for TextureDomain
impl UnsafeUnpin for TextureDomain
impl UnwindSafe for TextureDomain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.