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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Get the signature for the implementing type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.