pub struct OutputInfo {
pub name: String,
pub status: OutputStatus,
pub enabled: bool,
pub current_mode: Option<ModeInfo>,
pub modes: Vec<ModeInfo>,
pub vrr_mode: Option<String>,
pub vrr_support: Option<String>,
pub direct_scanout_candidate_node: Option<u64>,
pub direct_scanout_active_node: Option<u64>,
pub direct_scanout_reason: Option<String>,
pub logical: Option<LogicalOutputInfo>,
}Fields§
§name: String§status: OutputStatus§enabled: bool§current_mode: Option<ModeInfo>§modes: Vec<ModeInfo>§vrr_mode: Option<String>§vrr_support: Option<String>§direct_scanout_candidate_node: Option<u64>§direct_scanout_active_node: Option<u64>§direct_scanout_reason: Option<String>§logical: Option<LogicalOutputInfo>Trait Implementations§
Source§impl Clone for OutputInfo
impl Clone for OutputInfo
Source§fn clone(&self) -> OutputInfo
fn clone(&self) -> OutputInfo
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 moreSource§impl Debug for OutputInfo
impl Debug for OutputInfo
Source§impl<'de> Deserialize<'de> for OutputInfo
impl<'de> Deserialize<'de> for OutputInfo
Source§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 Freeze for OutputInfo
impl RefUnwindSafe for OutputInfo
impl Send for OutputInfo
impl Sync for OutputInfo
impl Unpin for OutputInfo
impl UnsafeUnpin for OutputInfo
impl UnwindSafe for OutputInfo
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