pub enum FacadeRejectedKind {
Variable,
Function,
}Expand description
The two forms What a facade signature may not
name
rejects — see Error::FacadeTypeNotAdmitted.
Variants§
Variable
A type variable, which excludes no value: there is nothing for a runtime predicate to decide.
Function
A function type, wherever it is found — as the signature’s own result or nested inside a parameter, a tuple or a union’s argument.
Trait Implementations§
Source§impl Clone for FacadeRejectedKind
impl Clone for FacadeRejectedKind
Source§fn clone(&self) -> FacadeRejectedKind
fn clone(&self) -> FacadeRejectedKind
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 FacadeRejectedKind
Source§impl Debug for FacadeRejectedKind
impl Debug for FacadeRejectedKind
Source§impl PartialEq for FacadeRejectedKind
impl PartialEq for FacadeRejectedKind
impl StructuralPartialEq for FacadeRejectedKind
Auto Trait Implementations§
impl Freeze for FacadeRejectedKind
impl RefUnwindSafe for FacadeRejectedKind
impl Send for FacadeRejectedKind
impl Sync for FacadeRejectedKind
impl Unpin for FacadeRejectedKind
impl UnsafeUnpin for FacadeRejectedKind
impl UnwindSafe for FacadeRejectedKind
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