pub struct ExplanationFormRange {
pub form_index: u32,
pub start_char: u32,
pub end_char: u32,
}Expand description
Half-open Unicode scalar offsets in returned entry.forms[formIndex].
Fields§
§form_index: u32Index into the forms actually returned in this entry’s metadata.
start_char: u32Start in safe visible text, excluding renderer-added framing.
end_char: u32Exclusive end in the same text root.
Implementations§
Trait Implementations§
Source§impl Clone for ExplanationFormRange
impl Clone for ExplanationFormRange
Source§fn clone(&self) -> ExplanationFormRange
fn clone(&self) -> ExplanationFormRange
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 ExplanationFormRange
impl Debug for ExplanationFormRange
Source§impl<'de> Deserialize<'de> for ExplanationFormRange
impl<'de> Deserialize<'de> for ExplanationFormRange
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 ExplanationFormRange
Source§impl JsonSchema for ExplanationFormRange
impl JsonSchema for ExplanationFormRange
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 ExplanationFormRange
impl PartialEq for ExplanationFormRange
Source§impl Serialize for ExplanationFormRange
impl Serialize for ExplanationFormRange
impl StructuralPartialEq for ExplanationFormRange
Auto Trait Implementations§
impl Freeze for ExplanationFormRange
impl RefUnwindSafe for ExplanationFormRange
impl Send for ExplanationFormRange
impl Sync for ExplanationFormRange
impl Unpin for ExplanationFormRange
impl UnsafeUnpin for ExplanationFormRange
impl UnwindSafe for ExplanationFormRange
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