pub struct NowSessionWindowRecStartMsg {
pub flags: WindowRecStartFlags,
pub poll_interval: u32,
}Expand description
The NOW_SESSION_WINDOW_REC_START_MSG message is used to start window recording, which tracks active window changes and title updates.
NOW_PROTO: NOW_SESSION_WINDOW_REC_START_MSG
Fields§
§flags: WindowRecStartFlagsFlags for window recording options
poll_interval: u32Interval in milliseconds for polling window changes. Set to 0 to use the host’s default poll interval.
Implementations§
Source§impl NowSessionWindowRecStartMsg
impl NowSessionWindowRecStartMsg
pub fn new(poll_interval: u32, flags: WindowRecStartFlags) -> Self
Trait Implementations§
Source§impl Clone for NowSessionWindowRecStartMsg
impl Clone for NowSessionWindowRecStartMsg
Source§fn clone(&self) -> NowSessionWindowRecStartMsg
fn clone(&self) -> NowSessionWindowRecStartMsg
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 NowSessionWindowRecStartMsg
impl Debug for NowSessionWindowRecStartMsg
Source§impl Decode<'_> for NowSessionWindowRecStartMsg
impl Decode<'_> for NowSessionWindowRecStartMsg
Source§fn decode(src: &mut ReadCursor<'_>) -> DecodeResult<Self>
fn decode(src: &mut ReadCursor<'_>) -> DecodeResult<Self>
Decodes an instance of
Self from the given byte stream. Read moreSource§impl Encode for NowSessionWindowRecStartMsg
impl Encode for NowSessionWindowRecStartMsg
Source§impl From<NowSessionWindowRecStartMsg> for NowMessage<'_>
impl From<NowSessionWindowRecStartMsg> for NowMessage<'_>
Source§fn from(value: NowSessionWindowRecStartMsg) -> Self
fn from(value: NowSessionWindowRecStartMsg) -> Self
Converts to this type from the input type.
impl Eq for NowSessionWindowRecStartMsg
impl StructuralPartialEq for NowSessionWindowRecStartMsg
Auto Trait Implementations§
impl Freeze for NowSessionWindowRecStartMsg
impl RefUnwindSafe for NowSessionWindowRecStartMsg
impl Send for NowSessionWindowRecStartMsg
impl Sync for NowSessionWindowRecStartMsg
impl Unpin for NowSessionWindowRecStartMsg
impl UnwindSafe for NowSessionWindowRecStartMsg
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