Struct ashpd::desktop::screencast::Stream [−][src]
pub struct Stream(_, _);
Expand description
A PipeWire stream.
Implementations
The PipeWire stream Node ID
A tuple consisting of the position (x, y) in the compositor coordinate space.
Note that the position may not be equivalent to a position in a pixel coordinate space. Only available for monitor streams.
A tuple consisting of (width, height). The size represents the size of the stream as it is displayed in the compositor coordinate space.
Note that this size may not be equivalent to a size in a pixel coordinate space. The size may differ from the size of the stream.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Stream
impl UnwindSafe for Stream
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V