pub struct SnippetLine {
pub line_num: usize,
pub content: String,
pub is_error_line: bool,
}Expand description
A single line in a config snippet.
Fields§
§line_num: usizeLine number (1-indexed).
content: StringLine content.
is_error_line: boolWhether this is the error line.
Trait Implementations§
Source§impl Clone for SnippetLine
impl Clone for SnippetLine
Source§fn clone(&self) -> SnippetLine
fn clone(&self) -> SnippetLine
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 moreSource§impl Debug for SnippetLine
impl Debug for SnippetLine
Source§impl<'de> Deserialize<'de> for SnippetLine
impl<'de> Deserialize<'de> for SnippetLine
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
Auto Trait Implementations§
impl Freeze for SnippetLine
impl RefUnwindSafe for SnippetLine
impl Send for SnippetLine
impl Sync for SnippetLine
impl Unpin for SnippetLine
impl UnsafeUnpin for SnippetLine
impl UnwindSafe for SnippetLine
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