Move

Trait Move 

Source
pub trait Move<'owner>: MoveRef<'owner> + MoveMut<'owner> { }
Expand description

Trait for containers which hold different kinds of reference.

Combines MoveRef and MoveMut functionality together, allowing to move immutable and mutable references from the same container.

Implementors§

Source§

impl<'owner, T> Move<'owner> for T
where T: ?Sized + MoveRef<'owner> + MoveMut<'owner>,

Technically, Move is a trait alias to MoveRef + MoveMut trait combination.