pub struct TypeLifetimeRegistry { /* private fields */ }Implementations§
Source§impl TypeLifetimeRegistry
impl TypeLifetimeRegistry
pub fn new() -> Self
pub fn get_type_spec(&self, type_name: &str) -> Option<&TypeLifetimeSpec>
pub fn add_type_spec(&mut self, spec: TypeLifetimeSpec)
Auto Trait Implementations§
impl Freeze for TypeLifetimeRegistry
impl RefUnwindSafe for TypeLifetimeRegistry
impl Send for TypeLifetimeRegistry
impl Sync for TypeLifetimeRegistry
impl Unpin for TypeLifetimeRegistry
impl UnwindSafe for TypeLifetimeRegistry
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