pub struct FrameMessage {
pub sequence_id: i64,
pub format: PixelFormat,
pub data: Option<Vec<u8>>,
pub width: i32,
pub height: i32,
pub stride: i32,
pub dpi_x: f64,
pub dpi_y: f64,
}Fields§
§sequence_id: i64§format: PixelFormat§data: Option<Vec<u8>>§width: i32§height: i32§stride: i32§dpi_x: f64§dpi_y: f64Implementations§
Trait Implementations§
Source§impl BsonObject for FrameMessage
impl BsonObject for FrameMessage
Source§fn get_property_value(&self, index: usize) -> ValueRef<'_>
fn get_property_value(&self, index: usize) -> ValueRef<'_>
Reads the property with the given index in
ClassType::properties.Source§fn set_property_value(
&mut self,
index: usize,
value: Value,
) -> Result<(), Error>
fn set_property_value( &mut self, index: usize, value: Value, ) -> Result<(), Error>
Assigns the property with the given index. The value is cast to the
type of the property; one of another type is an
InvalidCastException.Source§fn clone_object(&self) -> Box<dyn BsonObject>
fn clone_object(&self) -> Box<dyn BsonObject>
A copy of the object behind a new handle.
Source§fn equals(&self, other: &dyn BsonObject) -> bool
fn equals(&self, other: &dyn BsonObject) -> bool
Whether the other object is of the same class and has equal
properties.
fn as_any(&self) -> &dyn Any
fn into_any(self: Box<Self>) -> Box<dyn Any + Send + Sync>
Source§fn as_expando(&mut self) -> Option<&mut dyn IExpando>
fn as_expando(&mut self) -> Option<&mut dyn IExpando>
instance as IExpando.Source§impl BsonValue for FrameMessage
impl BsonValue for FrameMessage
Source§impl Clone for FrameMessage
impl Clone for FrameMessage
Source§impl Debug for FrameMessage
impl Debug for FrameMessage
Source§impl Default for FrameMessage
impl Default for FrameMessage
Source§impl FerroRemoteMessage for FrameMessage
impl FerroRemoteMessage for FrameMessage
Source§impl PartialEq for FrameMessage
impl PartialEq for FrameMessage
impl StructuralPartialEq for FrameMessage
Auto Trait Implementations§
impl Freeze for FrameMessage
impl RefUnwindSafe for FrameMessage
impl Send for FrameMessage
impl Sync for FrameMessage
impl Unpin for FrameMessage
impl UnsafeUnpin for FrameMessage
impl UnwindSafe for FrameMessage
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