Struct palmrs_database::info::category::AppInfoCategories
source · pub struct AppInfoCategories {
pub renamed_categories: u16,
pub categories: Vec<ExtraInfoCategory>,
/* private fields */
}
Fields§
§renamed_categories: u16
The number of categories renamed by the user
categories: Vec<ExtraInfoCategory>
Implementations§
source§impl AppInfoCategories
impl AppInfoCategories
pub fn from_bytes( hdr: &DatabaseHeader, rdr: &mut Cursor<&[u8]> ) -> Result<Self, Error>
Trait Implementations§
source§impl Clone for AppInfoCategories
impl Clone for AppInfoCategories
source§fn clone(&self) -> AppInfoCategories
fn clone(&self) -> AppInfoCategories
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AppInfoCategories
impl Debug for AppInfoCategories
source§impl Default for AppInfoCategories
impl Default for AppInfoCategories
source§fn default() -> AppInfoCategories
fn default() -> AppInfoCategories
Returns the “default value” for a type. Read more
source§impl ExtraInfoRecord for AppInfoCategories
impl ExtraInfoRecord for AppInfoCategories
source§const SIZE: usize = 276usize
const SIZE: usize = 276usize
Size in bytes (packed) which the ExtraInfoRecord occupies in the pdb/prc
source§fn from_bytes(
hdr: &DatabaseHeader,
data: &mut Cursor<&[u8]>
) -> Result<Self, Error>
fn from_bytes( hdr: &DatabaseHeader, data: &mut Cursor<&[u8]> ) -> Result<Self, Error>
Read the record header from the given byte array
source§fn data_empty(&self) -> bool
fn data_empty(&self) -> bool
Whether this ExtraInfoRecord contains no data
source§fn data_item_categories(&self) -> Option<Vec<ExtraInfoCategory>>
fn data_item_categories(&self) -> Option<Vec<ExtraInfoCategory>>
If the record contains a list of item categories, return those categories
source§impl PartialEq<AppInfoCategories> for AppInfoCategories
impl PartialEq<AppInfoCategories> for AppInfoCategories
source§fn eq(&self, other: &AppInfoCategories) -> bool
fn eq(&self, other: &AppInfoCategories) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AppInfoCategories
Auto Trait Implementations§
impl RefUnwindSafe for AppInfoCategories
impl Send for AppInfoCategories
impl Sync for AppInfoCategories
impl Unpin for AppInfoCategories
impl UnwindSafe for AppInfoCategories
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