Struct bones_asset::prelude::FieldPath
pub struct FieldPath<T>(pub T);
Expand description
A wrapper type that implements [IntoIterator<Item = FieldIdx>
] for an inner string to make
it easier to use with SchemaRefAccess::field_path()
and other field path methods.
Tuple Fields§
§0: T
Trait Implementations§
§impl<'a> IntoIterator for FieldPath<&'a str>
impl<'a> IntoIterator for FieldPath<&'a str>
Auto Trait Implementations§
impl<T> Freeze for FieldPath<T>where
T: Freeze,
impl<T> RefUnwindSafe for FieldPath<T>where
T: RefUnwindSafe,
impl<T> Send for FieldPath<T>where
T: Send,
impl<T> Sync for FieldPath<T>where
T: Sync,
impl<T> Unpin for FieldPath<T>where
T: Unpin,
impl<T> UnwindSafe for FieldPath<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