pub struct TypeObject { /* private fields */ }Implementations§
Source§impl TypeObject
impl TypeObject
pub fn new_complete(value: CompleteTypeObject) -> Self
pub fn is_complete(&self) -> bool
pub fn as_complete(&self) -> &CompleteTypeObject
pub fn as_complete_mut(&mut self) -> &mut CompleteTypeObject
pub fn into_complete(self) -> CompleteTypeObject
pub fn new_minimal(value: MinimalTypeObject) -> Self
pub fn is_minimal(&self) -> bool
pub fn as_minimal(&self) -> &MinimalTypeObject
pub fn as_minimal_mut(&mut self) -> &mut MinimalTypeObject
pub fn into_minimal(self) -> MinimalTypeObject
pub fn tag(&self) -> &u8
Trait Implementations§
Source§impl Clone for TypeObject
impl Clone for TypeObject
Source§impl Debug for TypeObject
impl Debug for TypeObject
Source§impl Default for TypeObject
impl Default for TypeObject
Source§impl<'de> Deserialize<'de> for TypeObject
impl<'de> Deserialize<'de> for TypeObject
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 Drop for TypeObject
impl Drop for TypeObject
Source§impl PartialEq for TypeObject
impl PartialEq for TypeObject
Auto Trait Implementations§
impl Freeze for TypeObject
impl RefUnwindSafe for TypeObject
impl Send for TypeObject
impl Sync for TypeObject
impl Unpin for TypeObject
impl UnsafeUnpin for TypeObject
impl UnwindSafe for TypeObject
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