pub(crate) enum RecordedCommand {
RenderPath {
thread_id: u8,
strips: Range<u32>,
blend_mode: BlendMode,
paint: Paint,
mask: Option<Mask>,
},
PushLayer {
thread_id: u8,
clip_path: Option<Range<u32>>,
clip_bbox: Option<RectU16>,
blend_mode: BlendMode,
mask: Option<Mask>,
opacity: f32,
},
PopLayer,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecordedCommand
impl RefUnwindSafe for RecordedCommand
impl Send for RecordedCommand
impl Sync for RecordedCommand
impl Unpin for RecordedCommand
impl UnsafeUnpin for RecordedCommand
impl UnwindSafe for RecordedCommand
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more