Trait gstreamer::format::BytesFormatConstructor
source · pub trait BytesFormatConstructor {
// Required methods
fn bytes(self) -> Bytes;
fn kibibytes(self) -> Bytes;
fn mebibytes(self) -> Bytes;
fn gibibytes(self) -> Bytes;
}
Expand description
Bytes
formatted value constructor trait.
These constructors use the unambiguous conventions for byte units.
Required Methods§
sourcefn kibibytes(self) -> Bytes
fn kibibytes(self) -> Bytes
Builds a Bytes
formatted value from self
interpreted as kibibytes (1024).