pub struct TextureForm {
pub detail: u8,
pub texture: Entity,
}Expand description
One other form of a texture: its level and the entity holding it.
Fields§
§detail: u8§texture: EntityTrait Implementations§
Source§impl Clone for TextureForm
impl Clone for TextureForm
impl Copy for TextureForm
Source§impl Debug for TextureForm
impl Debug for TextureForm
impl Eq for TextureForm
Source§impl PartialEq for TextureForm
impl PartialEq for TextureForm
Source§impl Serialize for TextureForm
impl Serialize for TextureForm
impl StructuralPartialEq for TextureForm
Auto Trait Implementations§
impl Forget for TextureForm
impl Freeze for TextureForm
impl RefUnwindSafe for TextureForm
impl Send for TextureForm
impl Sync for TextureForm
impl Unpin for TextureForm
impl UnsafeUnpin for TextureForm
impl UnwindSafe for TextureForm
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.