pub struct BlendModeValues {
pub premultiplied: Option<u64>,
pub coverage: Option<u64>,
pub none: Option<u64>,
}Expand description
Driver-assigned enum integers for a property’s named values.
The kernel hands back enum values in the order the driver registered them,
so a caller must look up by name and cache the integer — which is what this
holds. None means the plane does not advertise that value at all.
Fields§
§premultiplied: Option<u64>"Pre-multiplied". Prefer this: it matches the canvas’s premultiplied
output convention.
coverage: Option<u64>"Coverage" — straight-alpha SRC_OVER.
none: Option<u64>"None" — pixel replace, no blending.
Trait Implementations§
Source§impl Clone for BlendModeValues
impl Clone for BlendModeValues
impl Copy for BlendModeValues
Source§impl Debug for BlendModeValues
impl Debug for BlendModeValues
Source§impl Default for BlendModeValues
impl Default for BlendModeValues
impl Eq for BlendModeValues
Source§impl PartialEq for BlendModeValues
impl PartialEq for BlendModeValues
impl StructuralPartialEq for BlendModeValues
Auto Trait Implementations§
impl Freeze for BlendModeValues
impl RefUnwindSafe for BlendModeValues
impl Send for BlendModeValues
impl Sync for BlendModeValues
impl Unpin for BlendModeValues
impl UnsafeUnpin for BlendModeValues
impl UnwindSafe for BlendModeValues
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