pub struct OnnxOptionsSpec(/* private fields */);Expand description
A serialized OnnxOptions, accepted as either the struct or a JSON string.
Implementations§
Trait Implementations§
Source§impl Clone for OnnxOptionsSpec
impl Clone for OnnxOptionsSpec
Source§fn clone(&self) -> OnnxOptionsSpec
fn clone(&self) -> OnnxOptionsSpec
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 moreSource§impl Debug for OnnxOptionsSpec
impl Debug for OnnxOptionsSpec
Source§impl From<&str> for OnnxOptionsSpec
impl From<&str> for OnnxOptionsSpec
Source§impl From<OnnxOptions> for OnnxOptionsSpec
impl From<OnnxOptions> for OnnxOptionsSpec
Source§fn from(o: OnnxOptions) -> Self
fn from(o: OnnxOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OnnxOptionsSpec
impl RefUnwindSafe for OnnxOptionsSpec
impl Send for OnnxOptionsSpec
impl Sync for OnnxOptionsSpec
impl Unpin for OnnxOptionsSpec
impl UnsafeUnpin for OnnxOptionsSpec
impl UnwindSafe for OnnxOptionsSpec
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