#[non_exhaustive]pub struct ExtensionRange {
pub start: i32,
pub end: i32,
pub options: Option<ExtensionRangeOptions>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start: i32§end: i32§options: Option<ExtensionRangeOptions>Implementations§
Trait Implementations§
Source§impl Clone for ExtensionRange
impl Clone for ExtensionRange
Source§fn clone(&self) -> ExtensionRange
fn clone(&self) -> ExtensionRange
Returns a copy of the value. Read more
1.0.0 · 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 ExtensionRange
impl Debug for ExtensionRange
Source§impl Default for ExtensionRange
impl Default for ExtensionRange
Source§fn default() -> ExtensionRange
fn default() -> ExtensionRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtensionRangewhere
ExtensionRange: Default,
impl<'de> Deserialize<'de> for ExtensionRangewhere
ExtensionRange: Default,
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
Source§impl Message for ExtensionRange
impl Message for ExtensionRange
Source§impl PartialEq for ExtensionRange
impl PartialEq for ExtensionRange
Source§impl Serialize for ExtensionRange
impl Serialize for ExtensionRange
impl StructuralPartialEq for ExtensionRange
Auto Trait Implementations§
impl Freeze for ExtensionRange
impl RefUnwindSafe for ExtensionRange
impl Send for ExtensionRange
impl Sync for ExtensionRange
impl Unpin for ExtensionRange
impl UnwindSafe for ExtensionRange
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