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