pub struct RenderCommandClipStart {
pub bounds: BoundingBox,
pub id: ElementId,
pub z_index: i32,
}Expand description
Opens a clip region for subsequent RenderCommandOutput::Element commands.
Paired with RenderCommandClipEnd for the same element id. Pipes push and pop clip
stacks based on these markers.
Fields§
§bounds: BoundingBoxClip bounds in screen space.
id: ElementIdElement that owns this clip container.
z_index: i32Draw order relative to siblings (higher draws on top).
Trait Implementations§
Source§impl Clone for RenderCommandClipStart
impl Clone for RenderCommandClipStart
Source§fn clone(&self) -> RenderCommandClipStart
fn clone(&self) -> RenderCommandClipStart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RenderCommandClipStart
impl RefUnwindSafe for RenderCommandClipStart
impl Send for RenderCommandClipStart
impl Sync for RenderCommandClipStart
impl Unpin for RenderCommandClipStart
impl UnsafeUnpin for RenderCommandClipStart
impl UnwindSafe for RenderCommandClipStart
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.