#[repr(C)]pub struct TextRange {
pub start: Int64,
pub end: Int64,
}Expand description
The wire type corresponding to TextRange.
Fields§
§start: Int64§end: Int64Trait Implementations§
Source§impl<___E> Encode<TextRange, ___E> for TextRangewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<TextRange, ___E> for TextRangewhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, TextRange>
const COPY_OPTIMIZATION: CopyOptimization<Self, TextRange>
Source§impl<'a, ___E> Encode<TextRange, ___E> for &'a TextRangewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<TextRange, ___E> for &'a TextRangewhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E, T0, T1> Encode<TextRange, ___E> for TextRange<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Int64, ___E>,
T1: Encode<Int64, ___E>,
impl<___E, T0, T1> Encode<TextRange, ___E> for TextRange<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Int64, ___E>,
T1: Encode<Int64, ___E>,
Source§impl FromWireRef<TextRange> for TextRange
impl FromWireRef<TextRange> for TextRange
Source§fn from_wire_ref(wire: &TextRange) -> Self
fn from_wire_ref(wire: &TextRange) -> Self
Converts the given reference to this type.
Auto Trait Implementations§
impl Freeze for TextRange
impl RefUnwindSafe for TextRange
impl Send for TextRange
impl Sync for TextRange
impl Unpin for TextRange
impl UnsafeUnpin for TextRange
impl UnwindSafe for TextRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]