pub struct LazyBuilderLibrary<B: Backend> { /* private fields */ }Implementations§
Source§impl<B: Backend> LazyBuilderLibrary<B>
impl<B: Backend> LazyBuilderLibrary<B>
pub fn new() -> Self
pub fn cached(&self) -> &UuidMapTensorLibrary<B>
pub fn cached_mut(&mut self) -> &mut UuidMapTensorLibrary<B>
pub fn register_builder<T: LazyBuilder<B> + 'static>( &mut self, uuid: Uuid, builder: T, )
Trait Implementations§
Source§impl<B: Default + Backend> Default for LazyBuilderLibrary<B>
impl<B: Default + Backend> Default for LazyBuilderLibrary<B>
Source§fn default() -> LazyBuilderLibrary<B>
fn default() -> LazyBuilderLibrary<B>
Returns the “default value” for a type. Read more
Source§impl<B: Backend> TensorLibrary<B> for LazyBuilderLibrary<B>
impl<B: Backend> TensorLibrary<B> for LazyBuilderLibrary<B>
Auto Trait Implementations§
impl<B> Freeze for LazyBuilderLibrary<B>
impl<B> !RefUnwindSafe for LazyBuilderLibrary<B>
impl<B> Send for LazyBuilderLibrary<B>
impl<B> Sync for LazyBuilderLibrary<B>
impl<B> Unpin for LazyBuilderLibrary<B>
impl<B> !UnwindSafe for LazyBuilderLibrary<B>
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