#[non_exhaustive]pub struct Range {
pub identity: Resource,
pub identified: IdentifiedData,
pub location: LocationData,
pub start: Option<i64>,
pub end: Option<i64>,
}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.identity: Resource§identified: IdentifiedData§location: LocationData§start: Option<i64>§end: Option<i64>Implementations§
Trait Implementations§
impl Eq for Range
Source§impl SbolIdentified for Range
impl SbolIdentified for Range
Source§fn identified_data(&self) -> &IdentifiedData
fn identified_data(&self) -> &IdentifiedData
Returns the underlying
IdentifiedData this accessor reads from.Source§fn persistent_identity(&self) -> Option<&Resource>
fn persistent_identity(&self) -> Option<&Resource>
The object’s
sbol:persistentIdentity, if present.Source§fn display_id(&self) -> Option<&str>
fn display_id(&self) -> Option<&str>
The object’s
sbol:displayId, if present.Source§fn description(&self) -> Option<&str>
fn description(&self) -> Option<&str>
The object’s
dcterms:description, if present.Source§fn derived_from(&self) -> &[Resource]
fn derived_from(&self) -> &[Resource]
Resources this object lists as
prov:wasDerivedFrom.Source§fn generated_by(&self) -> &[Resource]
fn generated_by(&self) -> &[Resource]
Resources this object lists as
prov:wasGeneratedBy.Source§fn extensions(&self) -> &[ExtensionTriple]
fn extensions(&self) -> &[ExtensionTriple]
Non-SBOL annotation triples preserved on this object’s identity.
impl StructuralPartialEq for Range
Source§impl TryFromObject for Range
impl TryFromObject for Range
fn try_from_object(object: &Object) -> Option<Self>
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnsafeUnpin for Range
impl UnwindSafe for Range
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