pub struct Selector {
pub concepts: Vec<Concept>,
pub variants: Vec<Variant>,
pub audience: Audience,
pub depth: Depth,
pub locale: String,
pub headers: bool,
}Expand description
What to compose. Build one directly, or use a Recipe.
Fields§
§concepts: Vec<Concept>Concepts to include, in render order.
variants: Vec<Variant>Variants to include; empty means all.
audience: AudienceAudience lens.
depth: DepthHow much detail.
locale: StringRequested locale; falls back to DEFAULT_LOCALE per slot.
headers: boolEmit ## <concept title> section headers. Markdown-rendering clients want
them; a plain-terminal REPL banner does not.
Auto Trait Implementations§
impl Freeze for Selector
impl RefUnwindSafe for Selector
impl Send for Selector
impl Sync for Selector
impl Unpin for Selector
impl UnsafeUnpin for Selector
impl UnwindSafe for Selector
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