#[non_exhaustive]pub enum Primitive<'l> {
Node(NodeRef<'l>),
Way(PrimitiveRef<'l, Way>),
Relation(PrimitiveRef<'l, Relation>),
ChangeSet(PrimitiveRef<'l, ChangeSet>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Node(NodeRef<'l>)
Way(PrimitiveRef<'l, Way>)
Relation(PrimitiveRef<'l, Relation>)
ChangeSet(PrimitiveRef<'l, ChangeSet>)
Auto Trait Implementations§
impl<'l> Freeze for Primitive<'l>
impl<'l> RefUnwindSafe for Primitive<'l>
impl<'l> Send for Primitive<'l>
impl<'l> Sync for Primitive<'l>
impl<'l> Unpin for Primitive<'l>
impl<'l> UnsafeUnpin for Primitive<'l>
impl<'l> UnwindSafe for Primitive<'l>
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