Struct ra_ap_hir_expand::ExpandResult [−][src]
pub struct ExpandResult<T> {
pub value: T,
pub err: Option<ExpandError>,
}
Fields
value: T
err: Option<ExpandError>
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for ExpandResult<T> where
T: RefUnwindSafe,
impl<T> Send for ExpandResult<T> where
T: Send,
impl<T> Sync for ExpandResult<T> where
T: Sync,
impl<T> Unpin for ExpandResult<T> where
T: Unpin,
impl<T> UnwindSafe for ExpandResult<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more