Struct hydrate_data::AssetRefFieldRefMut
source · pub struct AssetRefFieldRefMut<'a>(pub PropertyPath, _);Tuple Fields§
§0: PropertyPathImplementations§
source§impl<'a> AssetRefFieldRefMut<'a>
impl<'a> AssetRefFieldRefMut<'a>
pub fn get(&self) -> DataSetResult<AssetId>
pub fn set(&self, value: AssetId) -> DataSetResult<Option<Value>>
Trait Implementations§
source§impl<'a> FieldRefMut<'a> for AssetRefFieldRefMut<'a>
impl<'a> FieldRefMut<'a> for AssetRefFieldRefMut<'a>
fn new( property_path: PropertyPath, data_container: &'a Rc<RefCell<DataContainerRefMut<'a>>> ) -> Self
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AssetRefFieldRefMut<'a>
impl<'a> !Send for AssetRefFieldRefMut<'a>
impl<'a> !Sync for AssetRefFieldRefMut<'a>
impl<'a> Unpin for AssetRefFieldRefMut<'a>
impl<'a> !UnwindSafe for AssetRefFieldRefMut<'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