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