pub enum SectionType {
Meta,
TechStack,
KeyFiles,
Architecture,
Commands,
Context,
BiSync,
Embeddings,
TokenMap,
ModelHints,
Custom,
Unknown(u8),
}Expand description
Section type with display name
Variants§
Meta
TechStack
KeyFiles
Architecture
Commands
Context
BiSync
Embeddings
TokenMap
ModelHints
Custom
Unknown(u8)
Implementations§
Source§impl SectionType
impl SectionType
Sourcepub const fn is_extended(&self) -> bool
pub const fn is_extended(&self) -> bool
Check if this is an extended section (0x10-0xFE)
Sourcepub const fn default_priority(&self) -> u8
pub const fn default_priority(&self) -> u8
Get default priority for this section type
Trait Implementations§
Source§impl Clone for SectionType
impl Clone for SectionType
Source§fn clone(&self) -> SectionType
fn clone(&self) -> SectionType
Returns a duplicate of the value. Read more
1.0.0 · 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 SectionType
impl Debug for SectionType
Source§impl From<u8> for SectionType
impl From<u8> for SectionType
Source§fn from(id: u8) -> SectionType
fn from(id: u8) -> SectionType
Converts to this type from the input type.
Source§impl PartialEq for SectionType
impl PartialEq for SectionType
impl Copy for SectionType
impl Eq for SectionType
impl StructuralPartialEq for SectionType
Auto Trait Implementations§
impl Freeze for SectionType
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnsafeUnpin for SectionType
impl UnwindSafe for SectionType
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.