pub enum Undefinable {
Type(Label),
AnnotationType(AnnotationType),
AnnotationCapability(AnnotationCapability),
CapabilityType(CapabilityType),
Specialise(Specialise),
Function(Function),
Struct(Struct),
}Variants§
Type(Label)
AnnotationType(AnnotationType)
AnnotationCapability(AnnotationCapability)
CapabilityType(CapabilityType)
Specialise(Specialise)
Function(Function)
Struct(Struct)
Trait Implementations§
Source§impl Debug for Undefinable
impl Debug for Undefinable
Source§impl Display for Undefinable
impl Display for Undefinable
impl Eq for Undefinable
Source§impl PartialEq for Undefinable
impl PartialEq for Undefinable
Source§fn eq(&self, other: &Undefinable) -> bool
fn eq(&self, other: &Undefinable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Undefinable
Auto Trait Implementations§
impl Freeze for Undefinable
impl RefUnwindSafe for Undefinable
impl Send for Undefinable
impl Sync for Undefinable
impl Unpin for Undefinable
impl UnsafeUnpin for Undefinable
impl UnwindSafe for Undefinable
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more