[][src]Struct pcd_rs::ReaderOptions

pub struct ReaderOptions {}

Used to configure LCD file readers.

Methods

impl ReaderOptions[src]

pub fn from_path<P: AsRef<Path>>(
    path: P
) -> Result<SeqReader<File>, Box<dyn Error + Send + Sync>>
[src]

Load PCD file from path.

pub fn from_buffer(
    buf: &[u8]
) -> Result<SeqReader<Cursor<&[u8]>>, Box<dyn Error + Send + Sync>>
[src]

Parse PCD file buffer.

pub fn from_reader<R: Read>(
    reader: R
) -> Result<SeqReader<R>, Box<dyn Error + Send + Sync>>
[src]

Load PCD data from reader.

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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