pub enum ParamMut<'a> {
Bool(&'a mut bool),
Double(&'a mut f64),
Color(&'a mut Color),
Position(&'a mut Position),
String(&'a mut CString),
}Expand description
Mutable reference to a parameter.
Variants§
Bool(&'a mut bool)
Double(&'a mut f64)
Color(&'a mut Color)
Position(&'a mut Position)
String(&'a mut CString)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ParamMut<'a>
impl<'a> RefUnwindSafe for ParamMut<'a>
impl<'a> Send for ParamMut<'a>
impl<'a> Sync for ParamMut<'a>
impl<'a> Unpin for ParamMut<'a>
impl<'a> !UnwindSafe for ParamMut<'a>
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