#[repr(u8)]pub enum RenderDataOpcode {
Show 17 variants
Invalid = 0,
DrawLine = 1,
DrawRectangle = 2,
DrawEllipse = 3,
DrawGeometry = 4,
DrawGlyphRun = 5,
DrawBitmap = 6,
DrawCustom = 7,
PushClip = 8,
PushGeometryClip = 9,
PushOpacity = 10,
PushOpacityMask = 11,
PushTransform = 12,
PushRenderOptions = 13,
PushTextOptions = 14,
PushEffect = 15,
Pop = 16,
}Expand description
The opcode that starts every operation of a render data stream.
Variants§
Invalid = 0
DrawLine = 1
DrawRectangle = 2
DrawEllipse = 3
DrawGeometry = 4
DrawGlyphRun = 5
DrawBitmap = 6
DrawCustom = 7
PushClip = 8
PushGeometryClip = 9
PushOpacity = 10
PushOpacityMask = 11
PushTransform = 12
PushRenderOptions = 13
PushTextOptions = 14
PushEffect = 15
Pop = 16
Trait Implementations§
Source§impl BatchValue for RenderDataOpcode
One byte, as the byte-backed enumeration of upstream. A byte that
names no opcode reads as RenderDataOpcode::Invalid.
impl BatchValue for RenderDataOpcode
One byte, as the byte-backed enumeration of upstream. A byte that
names no opcode reads as RenderDataOpcode::Invalid.
Source§impl Clone for RenderDataOpcode
impl Clone for RenderDataOpcode
impl Copy for RenderDataOpcode
Source§impl Debug for RenderDataOpcode
impl Debug for RenderDataOpcode
Source§impl Default for RenderDataOpcode
impl Default for RenderDataOpcode
impl Eq for RenderDataOpcode
Source§impl Hash for RenderDataOpcode
impl Hash for RenderDataOpcode
Source§impl PartialEq for RenderDataOpcode
impl PartialEq for RenderDataOpcode
impl StructuralPartialEq for RenderDataOpcode
Auto Trait Implementations§
impl Freeze for RenderDataOpcode
impl RefUnwindSafe for RenderDataOpcode
impl Send for RenderDataOpcode
impl Sync for RenderDataOpcode
impl Unpin for RenderDataOpcode
impl UnsafeUnpin for RenderDataOpcode
impl UnwindSafe for RenderDataOpcode
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more