pub enum CardKindError {
InvalidName,
Reserved,
}Expand description
Reason validate_composable_kind rejected a kind string.
Variants§
InvalidName
Kind did not match [a-z_][a-z0-9_]*.
Reserved
Kind was "main", reserved for the document root.
Trait Implementations§
Source§impl Clone for CardKindError
impl Clone for CardKindError
Source§fn clone(&self) -> CardKindError
fn clone(&self) -> CardKindError
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 CardKindError
Source§impl Debug for CardKindError
impl Debug for CardKindError
impl Eq for CardKindError
Source§impl PartialEq for CardKindError
impl PartialEq for CardKindError
Source§fn eq(&self, other: &CardKindError) -> bool
fn eq(&self, other: &CardKindError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CardKindError
Auto Trait Implementations§
impl Freeze for CardKindError
impl RefUnwindSafe for CardKindError
impl Send for CardKindError
impl Sync for CardKindError
impl Unpin for CardKindError
impl UnsafeUnpin for CardKindError
impl UnwindSafe for CardKindError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.