[][src]Struct cr::Plugin

pub struct Plugin<State> { /* fields omitted */ }

Methods

impl<State> Plugin<State>[src]

pub fn new(state: State, fullpath: &str) -> Box<Plugin<State>>[src]

pub fn from_ctx(ctx: &mut cr_plugin) -> &mut Plugin<State>[src]

pub fn set_temporary_path(&mut self, path: &str)[src]

pub fn update(&mut self, reload_check: bool) -> i32[src]

pub fn get_version(&self) -> u32[src]

pub fn get_failure(&self) -> cr_failure[src]

pub fn state(&self) -> &State[src]

pub fn state_mut(&mut self) -> &mut State[src]

Trait Implementations

impl<State> Drop for Plugin<State>[src]

impl<State: Debug> Debug for Plugin<State>[src]

Auto Trait Implementations

impl<State> !Send for Plugin<State>

impl<State> !Sync for Plugin<State>

Blanket Implementations

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

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.