pub struct LibraryBody {
pub cite: &'static str,
pub steps: &'static [BodyAtom],
}Expand description
Expandable body of a candle-nn (or similar) helper, audited for one Candle release.
Fields§
§cite: &'static str§steps: &'static [BodyAtom]Trait Implementations§
Source§impl Clone for LibraryBody
impl Clone for LibraryBody
Source§fn clone(&self) -> LibraryBody
fn clone(&self) -> LibraryBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LibraryBody
Source§impl Debug for LibraryBody
impl Debug for LibraryBody
Source§impl PartialEq for LibraryBody
impl PartialEq for LibraryBody
impl StructuralPartialEq for LibraryBody
Auto Trait Implementations§
impl Freeze for LibraryBody
impl RefUnwindSafe for LibraryBody
impl Send for LibraryBody
impl Sync for LibraryBody
impl Unpin for LibraryBody
impl UnsafeUnpin for LibraryBody
impl UnwindSafe for LibraryBody
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