pub enum GuideTopic {
Method,
Syntax,
Data,
Rules,
Units,
Veto,
Composition,
NaturalLanguage,
AntiPatterns,
Evaluate,
Full,
}Expand description
Guide topics: authoring sections under documentation/guide/,
plus evaluate (default CS guide) and full (complete authoring llms.txt).
Variants§
Implementations§
Source§impl GuideTopic
impl GuideTopic
pub const ALL: &[GuideTopic]
pub const VALID_LIST: &str = "method, syntax, data, rules, units, veto, composition, natural_language, anti_patterns, evaluate, full"
pub fn as_str(self) -> &'static str
pub fn parse(name: &str) -> Option<Self>
Sourcepub fn section_text(self) -> &'static str
pub fn section_text(self) -> &'static str
Guide topic content from corresponding fragment.
Trait Implementations§
Source§impl Clone for GuideTopic
impl Clone for GuideTopic
Source§fn clone(&self) -> GuideTopic
fn clone(&self) -> GuideTopic
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 moreimpl Copy for GuideTopic
Source§impl Debug for GuideTopic
impl Debug for GuideTopic
impl Eq for GuideTopic
Source§impl PartialEq for GuideTopic
impl PartialEq for GuideTopic
impl StructuralPartialEq for GuideTopic
Auto Trait Implementations§
impl Freeze for GuideTopic
impl RefUnwindSafe for GuideTopic
impl Send for GuideTopic
impl Sync for GuideTopic
impl Unpin for GuideTopic
impl UnsafeUnpin for GuideTopic
impl UnwindSafe for GuideTopic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.