pub enum PartialType {
Type(Type),
Scalar(PartialScalarType),
Array(Option<Box<PartialType>>),
Any,
}
Variants§
Implementations§
Source§impl PartialType
impl PartialType
Trait Implementations§
Source§impl Clone for PartialType
impl Clone for PartialType
Source§fn clone(&self) -> PartialType
fn clone(&self) -> PartialType
Returns a duplicate 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 PartialType
impl Debug for PartialType
Source§impl Display for PartialType
impl Display for PartialType
Source§impl Into<PartialType> for Type
impl Into<PartialType> for Type
Source§fn into(self) -> PartialType
fn into(self) -> PartialType
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for PartialType
impl !RefUnwindSafe for PartialType
impl !Send for PartialType
impl !Sync for PartialType
impl Unpin for PartialType
impl !UnwindSafe for PartialType
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