Struct accesskit::TextSelection
source · [−]pub struct TextSelection { /* private fields */ }
Expand description
Offsets are in UTF-8 code units.
Trait Implementations
sourceimpl Clone for TextSelection
impl Clone for TextSelection
sourcefn clone(&self) -> TextSelection
fn clone(&self) -> TextSelection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TextSelection
impl Debug for TextSelection
sourceimpl<'de> Deserialize<'de> for TextSelection
impl<'de> Deserialize<'de> for TextSelection
sourcefn 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
sourceimpl JsonSchema for TextSelection
impl JsonSchema for TextSelection
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<TextSelection> for TextSelection
impl PartialEq<TextSelection> for TextSelection
sourcefn eq(&self, other: &TextSelection) -> bool
fn eq(&self, other: &TextSelection) -> bool
sourceimpl Serialize for TextSelection
impl Serialize for TextSelection
impl Copy for TextSelection
impl Eq for TextSelection
impl StructuralEq for TextSelection
impl StructuralPartialEq for TextSelection
Auto Trait Implementations
impl RefUnwindSafe for TextSelection
impl Send for TextSelection
impl Sync for TextSelection
impl Unpin for TextSelection
impl UnwindSafe for TextSelection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more