calamine

Struct Xlsb

Source
pub struct Xlsb<RS> { /* private fields */ }
Expand description

A Xlsb reader

Trait Implementations§

Source§

impl<RS: Read + Seek> Reader<RS> for Xlsb<RS>

Source§

fn worksheet_range( &mut self, name: &str, ) -> Option<Result<Range<DataType>, XlsbError>>

MS-XLSB 2.1.7.62

Source§

fn worksheet_formula( &mut self, name: &str, ) -> Option<Result<Range<String>, XlsbError>>

MS-XLSB 2.1.7.62

Source§

fn worksheets(&mut self) -> Vec<(String, Range<DataType>)>

MS-XLSB 2.1.7.62

Source§

type Error = XlsbError

Error specific to file type
Source§

fn new(reader: RS) -> Result<Self, XlsbError>

Creates a new instance.
Source§

fn vba_project(&mut self) -> Option<Result<Cow<'_, VbaProject>, XlsbError>>

Gets VbaProject
Source§

fn metadata(&self) -> &Metadata

Initialize
Source§

fn sheet_names(&self) -> Vec<String>

Get all sheet names of this workbook, in workbook order Read more
Source§

fn sheets_metadata(&self) -> &[Sheet]

Fetch all sheets metadata
Source§

fn defined_names(&self) -> &[(String, String)]

Get all defined names (Ranges names etc)
Source§

fn worksheet_range_at( &mut self, n: usize, ) -> Option<Result<Range<DataType>, Self::Error>>

Get the nth worksheet. Shortcut for getting the nth sheet_name, then the corresponding worksheet.

Auto Trait Implementations§

§

impl<RS> Freeze for Xlsb<RS>
where RS: Freeze,

§

impl<RS> RefUnwindSafe for Xlsb<RS>
where RS: RefUnwindSafe,

§

impl<RS> Send for Xlsb<RS>
where RS: Send,

§

impl<RS> Sync for Xlsb<RS>
where RS: Sync,

§

impl<RS> Unpin for Xlsb<RS>
where RS: Unpin,

§

impl<RS> UnwindSafe for Xlsb<RS>
where RS: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.