pub struct DefaultConfig;Expand description
The default config used when no config is specified in impl_reflectable!.
This is a marker type that parameterizes Reflectable. Downstream crates can define
their own config types and implement Reflectable<MyConfig> for types they control,
effectively dodging orphan rule restrictions — since the config type is local to their crate.
Auto Trait Implementations§
impl Freeze for DefaultConfig
impl RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl UnsafeUnpin for DefaultConfig
impl UnwindSafe for DefaultConfig
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