pub enum RenderCommandConfig<'a> {
None(),
Rectangle(Rectangle),
Border(BorderContainer),
Text(&'a str, Text),
Image(Image),
ScissorStart(),
ScissorEnd(),
Custom(Custom),
}Variants§
None()
Rectangle(Rectangle)
Border(BorderContainer)
Text(&'a str, Text)
Image(Image)
ScissorStart()
ScissorEnd()
Custom(Custom)
Trait Implementations§
Source§impl<'a> Clone for RenderCommandConfig<'a>
impl<'a> Clone for RenderCommandConfig<'a>
Source§fn clone(&self) -> RenderCommandConfig<'a>
fn clone(&self) -> RenderCommandConfig<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for RenderCommandConfig<'a>
impl<'a> Debug for RenderCommandConfig<'a>
Source§impl From<&Clay_RenderCommand> for RenderCommandConfig<'_>
impl From<&Clay_RenderCommand> for RenderCommandConfig<'_>
Source§fn from(value: &Clay_RenderCommand) -> Self
fn from(value: &Clay_RenderCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for RenderCommandConfig<'a>
impl<'a> RefUnwindSafe for RenderCommandConfig<'a>
impl<'a> !Send for RenderCommandConfig<'a>
impl<'a> !Sync for RenderCommandConfig<'a>
impl<'a> Unpin for RenderCommandConfig<'a>
impl<'a> UnwindSafe for RenderCommandConfig<'a>
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