Struct druid::lens::Ref [−][src]
pub struct Ref;
Expand description
Lens
for invoking AsRef
and AsMut
on a type.
LensExt::ref
offers an easy way to apply this,
as well as more information and examples.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ref
impl UnwindSafe for Ref
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
pub fn round_from(x: T) -> T
pub fn round_from(x: T) -> T
Performs the conversion.
pub fn round_into(self) -> U
pub fn round_into(self) -> U
Performs the conversion.
type Output = T
type Output = T
Should always be Self
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