Struct tfrecord::record_writer::RecordWriter
source · [−]pub struct RecordWriter<T, W> where
T: Record, { /* private fields */ }
Expand description
The record writer.
Implementations
sourceimpl<T> RecordWriter<T, BufWriter<File>> where
T: Record,
impl<T> RecordWriter<T, BufWriter<File>> where
T: Record,
sourceimpl<T, W> RecordWriter<T, W> where
T: Record,
W: Write,
impl<T, W> RecordWriter<T, W> where
T: Record,
W: Write,
Trait Implementations
sourceimpl<T: Clone, W: Clone> Clone for RecordWriter<T, W> where
T: Record,
impl<T: Clone, W: Clone> Clone for RecordWriter<T, W> where
T: Record,
sourcefn clone(&self) -> RecordWriter<T, W>
fn clone(&self) -> RecordWriter<T, W>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: PartialEq, W: PartialEq> PartialEq<RecordWriter<T, W>> for RecordWriter<T, W> where
T: Record,
impl<T: PartialEq, W: PartialEq> PartialEq<RecordWriter<T, W>> for RecordWriter<T, W> where
T: Record,
sourcefn eq(&self, other: &RecordWriter<T, W>) -> bool
fn eq(&self, other: &RecordWriter<T, W>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RecordWriter<T, W>) -> bool
fn ne(&self, other: &RecordWriter<T, W>) -> bool
This method tests for !=
.
impl<T: Eq, W: Eq> Eq for RecordWriter<T, W> where
T: Record,
impl<T, W> StructuralEq for RecordWriter<T, W> where
T: Record,
impl<T, W> StructuralPartialEq for RecordWriter<T, W> where
T: Record,
Auto Trait Implementations
impl<T, W> RefUnwindSafe for RecordWriter<T, W> where
T: RefUnwindSafe,
W: RefUnwindSafe,
impl<T, W> Send for RecordWriter<T, W> where
T: Send,
W: Send,
impl<T, W> Sync for RecordWriter<T, W> where
T: Sync,
W: Sync,
impl<T, W> Unpin for RecordWriter<T, W> where
T: Unpin,
W: Unpin,
impl<T, W> UnwindSafe for RecordWriter<T, W> where
T: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more