pub enum JsonPointeeStructTy {
Named(&'static str),
Tuple(&'static str),
Unit(&'static str),
}Expand description
The name of a pointed-to struct type or enum variant, for reporting traversal errors.
Variants§
Trait Implementations§
Source§impl Clone for JsonPointeeStructTy
impl Clone for JsonPointeeStructTy
Source§fn clone(&self) -> JsonPointeeStructTy
fn clone(&self) -> JsonPointeeStructTy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JsonPointeeStructTy
Source§impl Debug for JsonPointeeStructTy
impl Debug for JsonPointeeStructTy
impl Eq for JsonPointeeStructTy
Source§impl PartialEq for JsonPointeeStructTy
impl PartialEq for JsonPointeeStructTy
Source§fn eq(&self, other: &JsonPointeeStructTy) -> bool
fn eq(&self, other: &JsonPointeeStructTy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JsonPointeeStructTy
Auto Trait Implementations§
impl Freeze for JsonPointeeStructTy
impl RefUnwindSafe for JsonPointeeStructTy
impl Send for JsonPointeeStructTy
impl Sync for JsonPointeeStructTy
impl Unpin for JsonPointeeStructTy
impl UnsafeUnpin for JsonPointeeStructTy
impl UnwindSafe for JsonPointeeStructTy
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