pub struct OptionsMut<'g> { /* private fields */ }Implementations§
Source§impl<'g> OptionsMut<'g>
impl<'g> OptionsMut<'g>
Source§impl OptionsMut<'_>
impl OptionsMut<'_>
pub fn as_ref(&self) -> OptionsRef<'_>
Source§impl<'g> OptionsMut<'g>
impl<'g> OptionsMut<'g>
pub fn push(&mut self, play: Move) -> Result<PlayMut<'_>, Error>
pub fn into_push(self, play: Move) -> Result<PlayMut<'g>, Error>
pub fn insert(&mut self, index: usize, play: Move) -> Result<PlayMut<'_>, Error>
pub fn into_insert(self, index: usize, play: Move) -> Result<PlayMut<'g>, Error>
pub fn into_get(self, play: Move) -> Option<PlayMut<'g>>
pub fn into_get_index(self, index: usize) -> Option<PlayMut<'g>>
pub fn remove(&mut self, play: Move) -> bool
pub fn swap(&mut self, a: Move, b: Move) -> bool
pub fn raise(&mut self, play: Move) -> bool
pub fn lower(&mut self, play: Move) -> bool
pub fn promote(&mut self, play: Move) -> bool
Auto Trait Implementations§
impl<'g> !UnwindSafe for OptionsMut<'g>
impl<'g> Freeze for OptionsMut<'g>
impl<'g> RefUnwindSafe for OptionsMut<'g>
impl<'g> Send for OptionsMut<'g>
impl<'g> Sync for OptionsMut<'g>
impl<'g> Unpin for OptionsMut<'g>
impl<'g> UnsafeUnpin for OptionsMut<'g>
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