Struct granite::DummyMoveFix [−][src]
#[repr(transparent)]pub struct DummyMoveFix<T: ?Sized>(pub T);
Wrapper around a type which implements MoveFix
by doing nothing when notified.
Annotated with repr(transparent)
, so an as
cast to the contained type will extract the value.
Implementations
impl<T> DummyMoveFix<T>
[src]
impl<T> DummyMoveFix<T>
[src]pub fn into_inner(self) -> T
[src]
Extracts the contained value.
Trait Implementations
impl<T: Clone + ?Sized> Clone for DummyMoveFix<T>
[src]
impl<T: Clone + ?Sized> Clone for DummyMoveFix<T>
[src]fn clone(&self) -> DummyMoveFix<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy + ?Sized> Copy for DummyMoveFix<T>
[src]
impl<T: Copy + ?Sized> Copy for DummyMoveFix<T>
[src]impl<T: Debug + ?Sized> Debug for DummyMoveFix<T>
[src]
impl<T: Debug + ?Sized> Debug for DummyMoveFix<T>
[src]impl<T: Default + ?Sized> Default for DummyMoveFix<T>
[src]
impl<T: Default + ?Sized> Default for DummyMoveFix<T>
[src]fn default() -> DummyMoveFix<T>
[src]
impl<T: Eq + ?Sized> Eq for DummyMoveFix<T>
[src]
impl<T: Eq + ?Sized> Eq for DummyMoveFix<T>
[src]impl<T> From<T> for DummyMoveFix<T>
[src]
impl<T> From<T> for DummyMoveFix<T>
[src]impl<T: Hash + ?Sized> Hash for DummyMoveFix<T>
[src]
impl<T: Hash + ?Sized> Hash for DummyMoveFix<T>
[src]impl<T> MoveFix for DummyMoveFix<T>
[src]
impl<T> MoveFix for DummyMoveFix<T>
[src]Dummy implementation, does nothing when notified.
unsafe fn fix_shift<S>(_: &mut S, _: usize, _: NonZeroIsize) where
S: ListStorage<Element = Self>,
[src]
S: ListStorage<Element = Self>,
unsafe fn fix_move<S>(_: &mut S, _: usize, _: usize) where
S: ListStorage<Element = Self>,
[src]
S: ListStorage<Element = Self>,
unsafe fn fix_left_shift<S>(
storage: &mut S,
shifted_from: usize,
shifted_by: NonZeroUsize
) where
S: ListStorage<Element = Self>,
[src]
storage: &mut S,
shifted_from: usize,
shifted_by: NonZeroUsize
) where
S: ListStorage<Element = Self>,
unsafe fn fix_right_shift<S>(
storage: &mut S,
shifted_from: usize,
shifted_by: NonZeroUsize
) where
S: ListStorage<Element = Self>,
[src]
storage: &mut S,
shifted_from: usize,
shifted_by: NonZeroUsize
) where
S: ListStorage<Element = Self>,
impl<T: Ord + ?Sized> Ord for DummyMoveFix<T>
[src]
impl<T: Ord + ?Sized> Ord for DummyMoveFix<T>
[src]impl<T: PartialEq + ?Sized> PartialEq<DummyMoveFix<T>> for DummyMoveFix<T>
[src]
impl<T: PartialEq + ?Sized> PartialEq<DummyMoveFix<T>> for DummyMoveFix<T>
[src]fn eq(&self, other: &DummyMoveFix<T>) -> bool
[src]
fn ne(&self, other: &DummyMoveFix<T>) -> bool
[src]
impl<T: PartialEq + ?Sized> PartialEq<T> for DummyMoveFix<T>
[src]
impl<T: PartialEq + ?Sized> PartialEq<T> for DummyMoveFix<T>
[src]impl<T: PartialOrd + ?Sized> PartialOrd<DummyMoveFix<T>> for DummyMoveFix<T>
[src]
impl<T: PartialOrd + ?Sized> PartialOrd<DummyMoveFix<T>> for DummyMoveFix<T>
[src]fn partial_cmp(&self, other: &DummyMoveFix<T>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl<T: PartialOrd + ?Sized> PartialOrd<T> for DummyMoveFix<T>
[src]
impl<T: PartialOrd + ?Sized> PartialOrd<T> for DummyMoveFix<T>
[src]impl<T: ?Sized> StructuralEq for DummyMoveFix<T>
[src]
impl<T: ?Sized> StructuralEq for DummyMoveFix<T>
[src]impl<T: ?Sized> StructuralPartialEq for DummyMoveFix<T>
[src]
impl<T: ?Sized> StructuralPartialEq for DummyMoveFix<T>
[src]Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for DummyMoveFix<T> where
T: RefUnwindSafe,
impl<T: ?Sized> RefUnwindSafe for DummyMoveFix<T> where
T: RefUnwindSafe,
impl<T: ?Sized> Send for DummyMoveFix<T> where
T: Send,
impl<T: ?Sized> Send for DummyMoveFix<T> where
T: Send,
impl<T: ?Sized> Sync for DummyMoveFix<T> where
T: Sync,
impl<T: ?Sized> Sync for DummyMoveFix<T> where
T: Sync,
impl<T: ?Sized> Unpin for DummyMoveFix<T> where
T: Unpin,
impl<T: ?Sized> Unpin for DummyMoveFix<T> where
T: Unpin,
impl<T: ?Sized> UnwindSafe for DummyMoveFix<T> where
T: UnwindSafe,
impl<T: ?Sized> UnwindSafe for DummyMoveFix<T> where
T: UnwindSafe,