pub struct TensorClampMode(/* private fields */);Implementations§
Source§impl TensorClampMode
impl TensorClampMode
pub const UNDEFINED: Self
pub const CONSTANT: Self
pub const CLAMP_TO_EDGE: Self
pub const REPEAT: Self
pub const REPEAT_MIRRORED: Self
Trait Implementations§
Source§impl Clone for TensorClampMode
impl Clone for TensorClampMode
Source§fn clone(&self) -> TensorClampMode
fn clone(&self) -> TensorClampMode
Returns a duplicate 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 TensorClampMode
impl Debug for TensorClampMode
Source§impl Display for TensorClampMode
impl Display for TensorClampMode
Source§impl PartialEq for TensorClampMode
impl PartialEq for TensorClampMode
impl Copy for TensorClampMode
impl Eq for TensorClampMode
impl StructuralPartialEq for TensorClampMode
Auto Trait Implementations§
impl Freeze for TensorClampMode
impl RefUnwindSafe for TensorClampMode
impl Send for TensorClampMode
impl Sync for TensorClampMode
impl Unpin for TensorClampMode
impl UnsafeUnpin for TensorClampMode
impl UnwindSafe for TensorClampMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> WordExt<'a> for Twhere
T: Word,
impl<'a, T> WordExt<'a> for Twhere
T: Word,
Source§fn parse_one(stream: &mut InstructionStream<'a>) -> ParseResult<Self>
fn parse_one(stream: &mut InstructionStream<'a>) -> ParseResult<Self>
Parses one word.
Source§fn parse_optional(
stream: &mut InstructionStream<'a>,
) -> ParseResult<Option<Self>>
fn parse_optional( stream: &mut InstructionStream<'a>, ) -> ParseResult<Option<Self>>
Tries to optionally parse one word.
Source§fn parse_eos(stream: &mut InstructionStream<'a>) -> ParseResult<&'a [Self]>
fn parse_eos(stream: &mut InstructionStream<'a>) -> ParseResult<&'a [Self]>
Parses words until the end of the stream.