Struct ambient_api::texture::Descriptor2D
source · pub struct Descriptor2D<'a> {
pub width: u32,
pub height: u32,
pub format: Format,
pub data: &'a [u8],
}
Available on crate feature
client
only.Fields§
§width: u32
§height: u32
§format: Format
§data: &'a [u8]
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Descriptor2D<'a>
impl<'a> Send for Descriptor2D<'a>
impl<'a> Sync for Descriptor2D<'a>
impl<'a> Unpin for Descriptor2D<'a>
impl<'a> UnwindSafe for Descriptor2D<'a>
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> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.