pub struct SearchMarkdownRange {
pub start_byte: u64,
pub end_byte: u64,
pub start_line: u32,
pub start_column: u32,
pub end_line: u32,
pub end_column: u32,
}Expand description
Half-open byte range plus one-based human coordinates in full Markdown.
Fields§
§start_byte: u64Inclusive zero-based UTF-8 byte offset.
end_byte: u64Exclusive zero-based UTF-8 byte offset.
start_line: u32One-based starting line.
start_column: u32One-based starting column.
end_line: u32One-based ending line.
end_column: u32One-based exclusive ending column.
Trait Implementations§
Source§impl Clone for SearchMarkdownRange
impl Clone for SearchMarkdownRange
Source§fn clone(&self) -> SearchMarkdownRange
fn clone(&self) -> SearchMarkdownRange
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 SearchMarkdownRange
Source§impl Debug for SearchMarkdownRange
impl Debug for SearchMarkdownRange
Source§impl<'de> Deserialize<'de> for SearchMarkdownRange
impl<'de> Deserialize<'de> for SearchMarkdownRange
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 SearchMarkdownRange
Source§impl JsonSchema for SearchMarkdownRange
impl JsonSchema for SearchMarkdownRange
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SearchMarkdownRange
impl PartialEq for SearchMarkdownRange
Source§impl Serialize for SearchMarkdownRange
impl Serialize for SearchMarkdownRange
impl StructuralPartialEq for SearchMarkdownRange
Auto Trait Implementations§
impl Freeze for SearchMarkdownRange
impl RefUnwindSafe for SearchMarkdownRange
impl Send for SearchMarkdownRange
impl Sync for SearchMarkdownRange
impl Unpin for SearchMarkdownRange
impl UnsafeUnpin for SearchMarkdownRange
impl UnwindSafe for SearchMarkdownRange
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