[][src]Struct genco::java::Optional

pub struct Optional<'el> {
    pub value: Box<Java<'el>>,
    pub field: Box<Java<'el>>,
}

An optional type.

Fields

value: Box<Java<'el>>

The type that is optional.

field: Box<Java<'el>>

The complete optional field type, including wrapper.

Trait Implementations

impl<'el> Clone for Optional<'el>[src]

impl<'el> Debug for Optional<'el>[src]

impl<'el> Eq for Optional<'el>[src]

impl<'el> Hash for Optional<'el>[src]

impl<'el> Ord for Optional<'el>[src]

impl<'el> PartialEq<Optional<'el>> for Optional<'el>[src]

impl<'el> PartialOrd<Optional<'el>> for Optional<'el>[src]

impl<'el> StructuralEq for Optional<'el>[src]

impl<'el> StructuralPartialEq for Optional<'el>[src]

Auto Trait Implementations

impl<'el> !RefUnwindSafe for Optional<'el>

impl<'el> !Send for Optional<'el>

impl<'el> !Sync for Optional<'el>

impl<'el> Unpin for Optional<'el>

impl<'el> UnwindSafe for Optional<'el>

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> From<T> for T[src]

impl<T, U> Into<U> 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, 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.