Struct guiedit::inspectable::ReadOnlyValue
source · pub struct ReadOnlyValue<'v, T: Inspectable>(pub &'v mut T);
Tuple Fields
0: &'v mut T
Trait Implementations
sourceimpl<'v, T: Inspectable> Inspectable for ReadOnlyValue<'v, T>
impl<'v, T: Inspectable> Inspectable for ReadOnlyValue<'v, T>
fn inspect_ui(&mut self, ui: &mut Ui)
sourcefn inspect_ui_outside(&mut self, name: &str, ui: &mut Ui)
fn inspect_ui_outside(&mut self, name: &str, ui: &mut Ui)
Inspects this value given its name. This usually is just a wrapper over
inspect_ui
with a label in front of it. Read moreAuto Trait Implementations
impl<'v, T> RefUnwindSafe for ReadOnlyValue<'v, T>where
T: RefUnwindSafe,
impl<'v, T> Send for ReadOnlyValue<'v, T>where
T: Send,
impl<'v, T> Sync for ReadOnlyValue<'v, T>where
T: Sync,
impl<'v, T> Unpin for ReadOnlyValue<'v, T>
impl<'v, T> !UnwindSafe for ReadOnlyValue<'v, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more