pub struct EuvCodeBlockProps {
pub variant: EuvCodeBlockVariant,
pub size: EuvCodeBlockSize,
}Expand description
Props for the euv_code_block component.
The block carries the surface it is drawn on and its size. The header, the content and the footer are passed as children.
Fields§
§variant: EuvCodeBlockVariantThe surface the code block is drawn on.
size: EuvCodeBlockSizeThe size of the block.
Trait Implementations§
Source§impl Clone for EuvCodeBlockProps
impl Clone for EuvCodeBlockProps
Source§impl Debug for EuvCodeBlockProps
impl Debug for EuvCodeBlockProps
Auto Trait Implementations§
impl Forget for EuvCodeBlockProps
impl Freeze for EuvCodeBlockProps
impl Move for EuvCodeBlockProps
impl RefUnwindSafe for EuvCodeBlockProps
impl Send for EuvCodeBlockProps
impl Sync for EuvCodeBlockProps
impl Unpin for EuvCodeBlockProps
impl UnsafeUnpin for EuvCodeBlockProps
impl UnwindSafe for EuvCodeBlockProps
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