pub struct HostTexture {
pub content_version: u64,
pub width: u32,
pub height: u32,
pub premultiplication: Premultiplication,
pub color_space: RasterColorSpace,
}Expand description
Generic image/video/text texture descriptor owned by a host.
Fields§
§content_version: u64Host-defined cache identity.
width: u32Width in pixels.
height: u32Height in pixels.
premultiplication: PremultiplicationAlpha representation.
color_space: RasterColorSpaceRGB encoding.
Trait Implementations§
Source§impl Clone for HostTexture
impl Clone for HostTexture
Source§impl Debug for HostTexture
impl Debug for HostTexture
impl Eq for HostTexture
Source§impl PartialEq for HostTexture
impl PartialEq for HostTexture
impl StructuralPartialEq for HostTexture
Auto Trait Implementations§
impl Freeze for HostTexture
impl RefUnwindSafe for HostTexture
impl Send for HostTexture
impl Sync for HostTexture
impl Unpin for HostTexture
impl UnsafeUnpin for HostTexture
impl UnwindSafe for HostTexture
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