pub enum EvidenceSegmentKind {
SourceCode,
Math,
Url,
Text,
}Variants§
Implementations§
Source§impl EvidenceSegmentKind
impl EvidenceSegmentKind
pub fn precedence(self) -> u8
pub fn is_interpretable_text(self) -> bool
pub fn is_protected(self) -> bool
Trait Implementations§
Source§impl Clone for EvidenceSegmentKind
impl Clone for EvidenceSegmentKind
Source§fn clone(&self) -> EvidenceSegmentKind
fn clone(&self) -> EvidenceSegmentKind
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 EvidenceSegmentKind
Source§impl Debug for EvidenceSegmentKind
impl Debug for EvidenceSegmentKind
Source§impl<'de> Deserialize<'de> for EvidenceSegmentKind
impl<'de> Deserialize<'de> for EvidenceSegmentKind
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 EvidenceSegmentKind
Source§impl PartialEq for EvidenceSegmentKind
impl PartialEq for EvidenceSegmentKind
Source§impl Serialize for EvidenceSegmentKind
impl Serialize for EvidenceSegmentKind
impl StructuralPartialEq for EvidenceSegmentKind
Auto Trait Implementations§
impl Freeze for EvidenceSegmentKind
impl RefUnwindSafe for EvidenceSegmentKind
impl Send for EvidenceSegmentKind
impl Sync for EvidenceSegmentKind
impl Unpin for EvidenceSegmentKind
impl UnsafeUnpin for EvidenceSegmentKind
impl UnwindSafe for EvidenceSegmentKind
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