#[non_exhaustive]pub struct Settings {
pub width: usize,
pub theme: Theme,
pub cell: Option<CellSize>,
pub hyperlinks: bool,
pub jumbo_title: Option<JumboTitle>,
pub diagram_deadline: Option<Instant>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.width: usize§theme: Theme§cell: Option<CellSize>§hyperlinks: boolWhether the terminal makes links clickable; when it does not, a link’s target is printed after its text.
jumbo_title: Option<JumboTitle>§diagram_deadline: Option<Instant>When diagrams stop being laid out: each runs on a thread of its own, given up on at that moment, and those
left show as source. None lays every diagram out on the calling thread, bounded by the diagram budget alone.
Trait Implementations§
impl Copy for Settings
Source§impl Default for Settings
80 columns of mrk-dark text: no pictures, links not clickable (their target printed after them), no jumbo title, no
diagram deadline.
impl Default for Settings
80 columns of mrk-dark text: no pictures, links not clickable (their target printed after them), no jumbo title, no
diagram deadline.
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Forget for Settings
impl Freeze for Settings
impl Move for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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