Struct oxygengine_ha_renderer::asset_protocols::atlas::AtlasRegion
source · pub struct AtlasRegion {
pub rect: Rect,
pub layer: usize,
}Fields§
§rect: Rect§layer: usizeTrait Implementations§
source§impl Clone for AtlasRegion
impl Clone for AtlasRegion
source§fn clone(&self) -> AtlasRegion
fn clone(&self) -> AtlasRegion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AtlasRegion
impl Debug for AtlasRegion
source§impl<'de> Deserialize<'de> for AtlasRegion
impl<'de> Deserialize<'de> for AtlasRegion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for AtlasRegion
impl Serialize for AtlasRegion
impl Copy for AtlasRegion
Auto Trait Implementations§
impl RefUnwindSafe for AtlasRegion
impl Send for AtlasRegion
impl Sync for AtlasRegion
impl Unpin for AtlasRegion
impl UnwindSafe for AtlasRegion
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