[][src]Struct tfrecord::protos::tensor_slice_proto::Extent

pub struct Extent {
    pub start: i64,
    pub has_length: Option<HasLength>,
}

Extent of the slice in one dimension.

Either both or no attributes must be set. When no attribute is set means: All data in that dimension.

Fields

start: i64

Start index of the slice, starting at 0.

has_length: Option<HasLength>

Length of the slice: if the length is missing or -1 we will interpret this as "everything in this dimension". We use "oneof" to preserve information about whether the length is present without changing the serialization format from the prior proto2 version of this proto.

Trait Implementations

impl Clone for Extent[src]

impl Debug for Extent[src]

impl Default for Extent[src]

impl<'de> Deserialize<'de> for Extent[src]

impl Message for Extent[src]

impl PartialEq<Extent> for Extent[src]

impl Serialize for Extent[src]

impl StructuralPartialEq for Extent[src]

Auto Trait Implementations

impl RefUnwindSafe for Extent

impl Send for Extent

impl Sync for Extent

impl Unpin for Extent

impl UnwindSafe for Extent

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.