[][src]Struct esplugin::Plugin

pub struct Plugin { /* fields omitted */ }

Methods

impl Plugin[src]

pub fn new(game_id: GameId, filepath: &Path) -> Plugin[src]

pub fn parse(
    &mut self,
    input: &[u8],
    load_header_only: bool
) -> Result<(), Error>
[src]

pub fn parse_open_file(
    &mut self,
    file: File,
    load_header_only: bool
) -> Result<(), Error>
[src]

pub fn parse_file(&mut self, load_header_only: bool) -> Result<(), Error>[src]

pub fn game_id(&self) -> &GameId[src]

pub fn path(&self) -> &Path[src]

pub fn filename(&self) -> Option<String>[src]

pub fn masters(&self) -> Result<Vec<String>, Error>[src]

pub fn is_master_file(&self) -> bool[src]

pub fn is_light_master_file(&self) -> bool[src]

pub fn is_valid(
    game_id: GameId,
    filepath: &Path,
    load_header_only: bool
) -> bool
[src]

pub fn description(&self) -> Result<Option<String>, Error>[src]

pub fn header_version(&self) -> Option<f32>[src]

pub fn record_and_group_count(&self) -> Option<u32>[src]

pub fn count_override_records(&self) -> usize[src]

pub fn overlaps_with(&self, other: &Self) -> bool[src]

pub fn is_valid_as_light_master(&self) -> bool[src]

Trait Implementations

impl Eq for Plugin[src]

impl PartialEq<Plugin> for Plugin[src]

impl Clone for Plugin[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Plugin[src]

impl Hash for Plugin[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Plugin

impl Sync for Plugin

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.