pub struct EuvCodeBlockContentProps {
pub wrap: bool,
pub line_numbers: bool,
pub start_line: i32,
}Expand description
Props for the euv_code_block_content component.
The content carries the two settings the reference publishes: whether the long lines wrap, and whether the lines are numbered.
Fields§
§wrap: boolWhether a long line wraps instead of scrolling.
line_numbers: boolWhether the lines are numbered.
start_line: i32The number the first line is given.
Trait Implementations§
Source§impl Clone for EuvCodeBlockContentProps
impl Clone for EuvCodeBlockContentProps
Source§impl Debug for EuvCodeBlockContentProps
impl Debug for EuvCodeBlockContentProps
Auto Trait Implementations§
impl Forget for EuvCodeBlockContentProps
impl Freeze for EuvCodeBlockContentProps
impl Move for EuvCodeBlockContentProps
impl RefUnwindSafe for EuvCodeBlockContentProps
impl Send for EuvCodeBlockContentProps
impl Sync for EuvCodeBlockContentProps
impl Unpin for EuvCodeBlockContentProps
impl UnsafeUnpin for EuvCodeBlockContentProps
impl UnwindSafe for EuvCodeBlockContentProps
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