pub struct StrictArgs {
pub font: Option<String>,
pub font_dirs: Vec<PathBuf>,
pub width: Option<u32>,
pub use_terminal_width: bool,
pub justify: Option<JustifyKind>,
pub layout: Option<LayoutKind>,
pub paragraph: Option<bool>,
pub message: Vec<String>,
}Available on crate feature
strict-compat only.Expand description
Outcome of parse_argv on success — the resolved argument bag.
Fields§
§font: Option<String>Resolved font (last-wins).
font_dirs: Vec<PathBuf>Repeated -d font dirs.
width: Option<u32>Resolved width (last-wins).
use_terminal_width: bool-t flag set.
justify: Option<JustifyKind>Resolved justify (last-wins between -c/-l/-r/-x).
layout: Option<LayoutKind>Resolved layout (last-wins between -k/-W/-S/-s/-o/-m).
paragraph: Option<bool>Paragraph (-p) or normal (-n) mode flag — last-wins.
message: Vec<String>Positional message tokens, concatenated with single space at render time per FR-002.
Trait Implementations§
Source§impl Clone for StrictArgs
impl Clone for StrictArgs
Source§fn clone(&self) -> StrictArgs
fn clone(&self) -> StrictArgs
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 moreSource§impl Debug for StrictArgs
impl Debug for StrictArgs
Source§impl Default for StrictArgs
impl Default for StrictArgs
Source§fn default() -> StrictArgs
fn default() -> StrictArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StrictArgs
impl RefUnwindSafe for StrictArgs
impl Send for StrictArgs
impl Sync for StrictArgs
impl Unpin for StrictArgs
impl UnsafeUnpin for StrictArgs
impl UnwindSafe for StrictArgs
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