pub struct PlanLineComment {
pub start_line: usize,
pub end_line: usize,
pub text: String,
}Expand description
Inline comment on a line range of the plan preview.
Fields§
§start_line: usizeInclusive start line (0-based) in the rendered plan view.
end_line: usizeInclusive end line (0-based).
text: StringTrait Implementations§
Source§impl Clone for PlanLineComment
impl Clone for PlanLineComment
Source§fn clone(&self) -> PlanLineComment
fn clone(&self) -> PlanLineComment
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 PlanLineComment
impl Debug for PlanLineComment
Source§impl<'de> Deserialize<'de> for PlanLineComment
impl<'de> Deserialize<'de> for PlanLineComment
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 PlanLineComment
Source§impl PartialEq for PlanLineComment
impl PartialEq for PlanLineComment
Source§impl Serialize for PlanLineComment
impl Serialize for PlanLineComment
impl StructuralPartialEq for PlanLineComment
Auto Trait Implementations§
impl Freeze for PlanLineComment
impl RefUnwindSafe for PlanLineComment
impl Send for PlanLineComment
impl Sync for PlanLineComment
impl Unpin for PlanLineComment
impl UnsafeUnpin for PlanLineComment
impl UnwindSafe for PlanLineComment
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.