[][src]Struct aml::AmlContext

pub struct AmlContext {
    pub namespace: Namespace,
    // some fields omitted
}

Fields

namespace: Namespace

Methods

impl AmlContext[src]

pub fn new() -> AmlContext[src]

pub fn parse_table(&mut self, stream: &[u8]) -> Result<(), AmlError>[src]

pub fn invoke_method(
    &mut self,
    path: &AmlName,
    args: Args
) -> Result<AmlValue, AmlError>
[src]

Invoke a method referred to by its path in the namespace, with the given arguments.

Trait Implementations

impl Debug for AmlContext[src]

Auto Trait Implementations

impl Unpin for AmlContext

impl Sync for AmlContext

impl Send for AmlContext

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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