pub struct ImportedTarget {
pub width: u32,
pub height: u32,
pub texture_format: TextureFormat,
pub render_format: TextureFormat,
}Expand description
What importing a host texture established about it.
Fields§
§width: u32Width in texels.
height: u32Height in texels.
texture_format: TextureFormatThe host texture’s own format.
render_format: TextureFormatThe format the renderer writes through: the linear member of the texture’s format family.
Trait Implementations§
Source§impl Clone for ImportedTarget
impl Clone for ImportedTarget
impl Copy for ImportedTarget
Source§impl Debug for ImportedTarget
impl Debug for ImportedTarget
impl Eq for ImportedTarget
Source§impl PartialEq for ImportedTarget
impl PartialEq for ImportedTarget
impl StructuralPartialEq for ImportedTarget
Auto Trait Implementations§
impl Freeze for ImportedTarget
impl RefUnwindSafe for ImportedTarget
impl Send for ImportedTarget
impl Sync for ImportedTarget
impl Unpin for ImportedTarget
impl UnsafeUnpin for ImportedTarget
impl UnwindSafe for ImportedTarget
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