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 Freeze for AssetRefFieldAccessor
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