#[repr(C)]pub struct DocumentString {
pub open: Span,
pub kind: DocumentKind,
pub indentation: DocumentIndentation,
pub label: StringIdentifier,
pub parts: Sequence<StringPart>,
pub close: Span,
}Fields§
§open: Span§kind: DocumentKind§indentation: DocumentIndentation§label: StringIdentifier§parts: Sequence<StringPart>§close: SpanTrait Implementations§
Source§impl Clone for DocumentString
impl Clone for DocumentString
Source§fn clone(&self) -> DocumentString
fn clone(&self) -> DocumentString
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 DocumentString
impl Debug for DocumentString
Source§impl<'de> Deserialize<'de> for DocumentString
impl<'de> Deserialize<'de> for DocumentString
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
Source§impl HasSpan for DocumentString
impl HasSpan for DocumentString
Source§impl Hash for DocumentString
impl Hash for DocumentString
Source§impl Ord for DocumentString
impl Ord for DocumentString
Source§fn cmp(&self, other: &DocumentString) -> Ordering
fn cmp(&self, other: &DocumentString) -> Ordering
1.21.0 · 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 DocumentString
impl PartialEq for DocumentString
Source§impl PartialOrd for DocumentString
impl PartialOrd for DocumentString
Source§impl Serialize for DocumentString
impl Serialize for DocumentString
impl Eq for DocumentString
impl StructuralPartialEq for DocumentString
Auto Trait Implementations§
impl Freeze for DocumentString
impl RefUnwindSafe for DocumentString
impl Send for DocumentString
impl Sync for DocumentString
impl Unpin for DocumentString
impl UnwindSafe for DocumentString
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