Enum onnx_protobuf::tensor_proto::DataLocation
source · pub enum DataLocation {
DEFAULT = 0,
EXTERNAL = 1,
}
Variants§
Trait Implementations§
source§impl Clone for DataLocation
impl Clone for DataLocation
source§fn clone(&self) -> DataLocation
fn clone(&self) -> DataLocation
Returns a copy of the value. Read more
1.0.0 · 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 DataLocation
impl Debug for DataLocation
source§impl Default for DataLocation
impl Default for DataLocation
source§impl Enum for DataLocation
impl Enum for DataLocation
source§fn from_i32(value: i32) -> Option<DataLocation>
fn from_i32(value: i32) -> Option<DataLocation>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<DataLocation>
fn from_str(str: &str) -> Option<DataLocation>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [DataLocation] = _
const VALUES: &'static [DataLocation] = _
All enum values for enum type.
source§impl Hash for DataLocation
impl Hash for DataLocation
source§impl PartialEq for DataLocation
impl PartialEq for DataLocation
source§fn eq(&self, other: &DataLocation) -> bool
fn eq(&self, other: &DataLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DataLocation
impl Eq for DataLocation
impl StructuralPartialEq for DataLocation
Auto Trait Implementations§
impl Freeze for DataLocation
impl RefUnwindSafe for DataLocation
impl Send for DataLocation
impl Sync for DataLocation
impl Unpin for DataLocation
impl UnwindSafe for DataLocation
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