pub struct LiveStreamHandle {
pub uri: String,
pub hint_size: Option<(u32, u32)>,
}Expand description
Opaque handle to a live input feed. The renderer polls it for the most recent frame at render time.
Fields§
§uri: StringImplementation-defined URI — rtmp://…, file://named-pipe,
etc. The streaming compositor resolves this against a
pluggable LiveSource registry (pending crate).
hint_size: Option<(u32, u32)>Optional hint for the expected frame size. The renderer will fall back to the actual frame size if it differs.
Trait Implementations§
Source§impl Clone for LiveStreamHandle
impl Clone for LiveStreamHandle
Source§fn clone(&self) -> LiveStreamHandle
fn clone(&self) -> LiveStreamHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LiveStreamHandle
impl RefUnwindSafe for LiveStreamHandle
impl Send for LiveStreamHandle
impl Sync for LiveStreamHandle
impl Unpin for LiveStreamHandle
impl UnsafeUnpin for LiveStreamHandle
impl UnwindSafe for LiveStreamHandle
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