pub struct Lease<'a, T> {
pub model: &'a Model<T>,
/* private fields */
}
Fields§
§model: &'a Model<T>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for Lease<'a, T>
impl<'a, T> !Send for Lease<'a, T>
impl<'a, T> !Sync for Lease<'a, T>
impl<'a, T> Unpin for Lease<'a, T>where T: Unpin,
impl<'a, T> !UnwindSafe for Lease<'a, T>
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