pub struct StreamProperties { /* private fields */ }Expand description
A PropertyAccessor which reads properties using the underlying host calls.
Implementations§
Trait Implementations§
Source§impl<C> FromContext<C> for StreamPropertieswhere
Rc<dyn Host>: FromContext<C, Error = Infallible>,
Rc<RootReactor>: FromContext<C, Error = Infallible>,
Stream properties can be injected for any context.
impl<C> FromContext<C> for StreamPropertieswhere
Rc<dyn Host>: FromContext<C, Error = Infallible>,
Rc<RootReactor>: FromContext<C, Error = Infallible>,
Stream properties can be injected for any context.
type Error = Infallible
fn from_context(context: &C) -> Result<Self, Self::Error>
fn from_context_always(context: &C) -> Selfwhere
Self: FromContext<C, E, Error = Infallible>,
Source§impl PropertyAccessor for StreamProperties
impl PropertyAccessor for StreamProperties
Auto Trait Implementations§
impl Freeze for StreamProperties
impl !RefUnwindSafe for StreamProperties
impl !Send for StreamProperties
impl !Sync for StreamProperties
impl Unpin for StreamProperties
impl !UnwindSafe for StreamProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more