Struct windows_metadata::File
source · pub struct File {
pub reader: *const Reader,
pub bytes: Vec<u8>,
pub strings: usize,
pub blobs: usize,
pub tables: [Table; 17],
}
Fields§
§reader: *const Reader
§bytes: Vec<u8>
§strings: usize
§blobs: usize
§tables: [Table; 17]
Implementations§
source§impl File
impl File
pub fn new(bytes: Vec<u8>) -> Option<Self>
pub fn usize(&self, row: usize, table: usize, column: usize) -> usize
pub fn lower_bound_of( &self, table: usize, first: usize, last: usize, column: usize, value: usize ) -> usize
pub fn upper_bound_of( &self, table: usize, first: usize, last: usize, column: usize, value: usize ) -> usize
pub fn table<R: AsRow>(&'static self) -> RowIterator<R> ⓘ
Trait Implementations§
source§impl Ord for File
impl Ord for File
source§impl PartialEq for File
impl PartialEq for File
source§impl PartialOrd for File
impl PartialOrd for File
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for File
impl Sync for File
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more