[][src]Struct pcd_rs::writer::Writer

pub struct Writer<Record, W> where
    W: Write + Seek
{ /* fields omitted */ }

A Writer type that write points to PCD data.

Methods

impl<W, Record> Writer<Record, W> where
    Record: PcdSerialize,
    W: Write + Seek
[src]

pub fn finish(self) -> Fallible<()>[src]

Finish the writer.

The method consumes the writer must be called once when finished. Otherwise it will panic when it drops.

pub fn push(&mut self, record: &Record) -> Fallible<()>[src]

Writes a new point to PCD data.

Trait Implementations

impl<W, Record> Drop for Writer<Record, W> where
    W: Write + Seek
[src]

Auto Trait Implementations

impl<Record, W> RefUnwindSafe for Writer<Record, W> where
    Record: RefUnwindSafe,
    W: RefUnwindSafe

impl<Record, W> Send for Writer<Record, W> where
    Record: Send,
    W: Send

impl<Record, W> Sync for Writer<Record, W> where
    Record: Sync,
    W: Sync

impl<Record, W> Unpin for Writer<Record, W> where
    Record: Unpin,
    W: Unpin

impl<Record, W> UnwindSafe for Writer<Record, W> where
    Record: UnwindSafe,
    W: UnwindSafe

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> From<T> for T[src]

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

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.