[−][src]Struct esplugin::Plugin
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]
&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]
&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 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]
game_id: GameId,
filepath: &Path,
load_header_only: bool
) -> bool
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(&self) -> 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]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,