Struct mmtk::util::options::UnsafeOptionsWrapper[][src]

pub struct UnsafeOptionsWrapper(_);

Implementations

impl UnsafeOptionsWrapper[src]

pub const fn new(o: Options) -> UnsafeOptionsWrapper[src]

pub unsafe fn process(&self, name: &str, value: &str) -> bool[src]

Safety

This method is not thread safe, as internally it acquires a mutable reference to self. It is supposed to be used by one thread during boot time.

Methods from Deref<Target = Options>

Trait Implementations

impl Deref for UnsafeOptionsWrapper[src]

type Target = Options

The resulting type after dereferencing.

impl Sync for UnsafeOptionsWrapper[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

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

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> 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.