Struct esplugin::Plugin [−][src]
pub struct Plugin { /* fields omitted */ }Methods
impl Plugin[src]
impl Pluginpub fn new(game_id: GameId, filepath: &Path) -> Plugin[src]
pub fn new(game_id: GameId, filepath: &Path) -> Pluginpub fn parse(
&mut self,
input: &[u8],
load_header_only: bool
) -> Result<(), Error>[src]
pub fn parse(
&mut self,
input: &[u8],
load_header_only: bool
) -> Result<(), Error>pub fn parse_open_file(
&mut self,
file: File,
load_header_only: bool
) -> Result<(), Error>[src]
pub fn parse_open_file(
&mut self,
file: File,
load_header_only: bool
) -> Result<(), Error>pub fn parse_file(&mut self, load_header_only: bool) -> Result<(), Error>[src]
pub fn parse_file(&mut self, load_header_only: bool) -> Result<(), Error>pub fn game_id(&self) -> &GameId[src]
pub fn game_id(&self) -> &GameIdpub fn path(&self) -> &Path[src]
pub fn path(&self) -> &Pathpub fn filename(&self) -> Option<String>[src]
pub fn filename(&self) -> Option<String>pub fn masters(&self) -> Result<Vec<String>, Error>[src]
pub fn masters(&self) -> Result<Vec<String>, Error>pub fn is_master_file(&self) -> bool[src]
pub fn is_master_file(&self) -> boolpub fn is_light_master_file(&self) -> bool[src]
pub fn is_light_master_file(&self) -> boolpub fn is_valid(
game_id: GameId,
filepath: &Path,
load_header_only: bool
) -> bool[src]
pub fn is_valid(
game_id: GameId,
filepath: &Path,
load_header_only: bool
) -> boolpub fn description(&self) -> Result<Option<String>, Error>[src]
pub fn description(&self) -> Result<Option<String>, Error>pub fn record_and_group_count(&self) -> Option<u32>[src]
pub fn record_and_group_count(&self) -> Option<u32>pub fn count_override_records(&self) -> usize[src]
pub fn count_override_records(&self) -> usizepub fn overlaps_with(&self, other: &Self) -> bool[src]
pub fn overlaps_with(&self, other: &Self) -> boolTrait Implementations
impl Clone for Plugin[src]
impl Clone for Pluginfn clone(&self) -> Plugin[src]
fn clone(&self) -> PluginReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Plugin[src]
impl PartialEq for Pluginfn eq(&self, other: &Plugin) -> bool[src]
fn eq(&self, other: &Plugin) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Plugin) -> bool[src]
fn ne(&self, other: &Plugin) -> boolThis method tests for !=.
impl Eq for Plugin[src]
impl Eq for Pluginimpl Debug for Plugin[src]
impl Debug for Pluginfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for Plugin[src]
impl Hash for Plugin