[−][src]Struct pcd_rs::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]
path: P
) -> Result<SeqReader<File>, Box<dyn Error + Send + Sync>>
Load PCD file from path.
pub fn from_buffer(
buf: &[u8]
) -> Result<SeqReader<Cursor<&[u8]>>, Box<dyn Error + Send + Sync>>
[src]
buf: &[u8]
) -> Result<SeqReader<Cursor<&[u8]>>, Box<dyn Error + Send + Sync>>
Parse PCD file buffer.
pub fn from_reader<R: Read>(
reader: R
) -> Result<SeqReader<R>, Box<dyn Error + Send + Sync>>
[src]
reader: R
) -> Result<SeqReader<R>, Box<dyn Error + Send + Sync>>
Load PCD data from reader.
Auto Trait Implementations
impl Send for ReaderOptions
impl Sync for ReaderOptions
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,