Expand description
Contains items related to the #[sabi_trait]
attribute.
Re-exports§
pub use crate::type_level::downcasting::TD_CanDowncast;
pub use crate::type_level::downcasting::TD_Opaque;
Modules§
- doc_
examples - Examples of
#[sabi_trait]
generated trait objects,for the documentation. - prelude
- A prelude for modules using
#[sabi_trait]
generated traits/trait objects.
Structs§
- RObject
RObject
implements ffi-safe trait objects, for a minimal selection of traits.- Unerase
Error - Error for
RObject<_>
being downcasted into the wrong type with one of the*downcast*
methods.
Traits§
- Reborrow
Bounds - This is used to make sure that reborrowing does not change the Send-ness or Sync-ness of the pointer.