Struct hydrate_pipeline::AssetRefFieldAccessor
source · pub struct AssetRefFieldAccessor(pub PropertyPath);
Tuple Fields§
§0: PropertyPath
Implementations§
source§impl AssetRefFieldAccessor
impl AssetRefFieldAccessor
pub fn get( &self, data_container: DataContainerRef<'_> ) -> Result<AssetId, DataSetErrorWithBacktrace>
pub fn set( &self, data_container: &mut DataContainerRefMut<'_>, value: AssetId ) -> Result<Option<Value>, DataSetErrorWithBacktrace>
Trait Implementations§
source§impl FieldAccessor for AssetRefFieldAccessor
impl FieldAccessor for AssetRefFieldAccessor
fn new(property_path: PropertyPath) -> AssetRefFieldAccessor
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