#[repr(C)]pub struct AtlasTile {
pub texture_id: AtlasTextureId,
pub tile_id: TileId,
pub padding: u32,
pub bounds: Bounds<DevicePixels>,
}Fields§
§texture_id: AtlasTextureIdThe texture this tile belongs to.
tile_id: TileIdThe unique ID of this tile within its texture.
padding: u32Padding around the tile content in pixels.
bounds: Bounds<DevicePixels>The bounds of this tile within the texture.
Trait Implementations§
impl Copy for AtlasTile
impl Eq for AtlasTile
impl StructuralPartialEq for AtlasTile
Auto Trait Implementations§
impl Freeze for AtlasTile
impl RefUnwindSafe for AtlasTile
impl Send for AtlasTile
impl Sync for AtlasTile
impl Unpin for AtlasTile
impl UnsafeUnpin for AtlasTile
impl UnwindSafe for AtlasTile
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§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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more