pub enum WrapperShape {
Call,
Alias,
}Expand description
The shape of a project wrapper.
Variants§
Call
The wrapper is the result of a call of the name:
useSelector.withTypes<RootState>().
Alias
The wrapper is the name itself: export const useAppDispatch = useDispatch.
Trait Implementations§
Source§impl Clone for WrapperShape
impl Clone for WrapperShape
impl Copy for WrapperShape
Source§impl Debug for WrapperShape
impl Debug for WrapperShape
impl Eq for WrapperShape
Source§impl Ord for WrapperShape
impl Ord for WrapperShape
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WrapperShape
impl PartialEq for WrapperShape
Source§impl PartialOrd for WrapperShape
impl PartialOrd for WrapperShape
Source§impl Serialize for WrapperShape
impl Serialize for WrapperShape
impl StructuralPartialEq for WrapperShape
Auto Trait Implementations§
impl Freeze for WrapperShape
impl RefUnwindSafe for WrapperShape
impl Send for WrapperShape
impl Sync for WrapperShape
impl Unpin for WrapperShape
impl UnsafeUnpin for WrapperShape
impl UnwindSafe for WrapperShape
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.