pub enum ContextSectionPartition {
System,
Skill,
Memory,
Working,
History,
Artifacts,
}Expand description
Named context partition used by section planning.
Variants§
Trait Implementations§
Source§impl Clone for ContextSectionPartition
impl Clone for ContextSectionPartition
Source§fn clone(&self) -> ContextSectionPartition
fn clone(&self) -> ContextSectionPartition
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 ContextSectionPartition
Source§impl Debug for ContextSectionPartition
impl Debug for ContextSectionPartition
Source§impl<'de> Deserialize<'de> for ContextSectionPartition
impl<'de> Deserialize<'de> for ContextSectionPartition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextSectionPartition
Source§impl Ord for ContextSectionPartition
impl Ord for ContextSectionPartition
Source§fn cmp(&self, other: &ContextSectionPartition) -> Ordering
fn cmp(&self, other: &ContextSectionPartition) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ContextSectionPartition
impl PartialEq for ContextSectionPartition
Source§fn eq(&self, other: &ContextSectionPartition) -> bool
fn eq(&self, other: &ContextSectionPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ContextSectionPartition
impl PartialOrd for ContextSectionPartition
Source§impl Serialize for ContextSectionPartition
impl Serialize for ContextSectionPartition
impl StructuralPartialEq for ContextSectionPartition
Auto Trait Implementations§
impl Freeze for ContextSectionPartition
impl RefUnwindSafe for ContextSectionPartition
impl Send for ContextSectionPartition
impl Sync for ContextSectionPartition
impl Unpin for ContextSectionPartition
impl UnsafeUnpin for ContextSectionPartition
impl UnwindSafe for ContextSectionPartition
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