pub struct EnumFieldRef<'a, T>(pub PropertyPath, _, _);
Tuple Fields§
§0: PropertyPath
Implementations§
Source§impl<'a, T> EnumFieldRef<'a, T>where
T: Enum,
impl<'a, T> EnumFieldRef<'a, T>where
T: Enum,
pub fn get(&self) -> Result<T, DataSetErrorWithBacktrace>
Trait Implementations§
Source§impl<'a, T> FieldRef<'a> for EnumFieldRef<'a, T>where
T: Enum,
impl<'a, T> FieldRef<'a> for EnumFieldRef<'a, T>where
T: Enum,
fn new( property_path: PropertyPath, data_container: DataContainerRef<'a>, ) -> EnumFieldRef<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for EnumFieldRef<'a, T>
impl<'a, T> RefUnwindSafe for EnumFieldRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for EnumFieldRef<'a, T>where
T: Send,
impl<'a, T> Sync for EnumFieldRef<'a, T>where
T: Sync,
impl<'a, T> Unpin for EnumFieldRef<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for EnumFieldRef<'a, T>where
T: UnwindSafe,
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