#[repr(C)]pub struct QarAppVolumeGestureAllowedPeersExt {
pub header: QarStructureHeader,
pub allowed_peers: *const QarPeerId,
pub allowed_peer_count: usize,
}Expand description
@brief Extension: the peers whose gestures may move or scale the app.
Chain from QarAppVolumeGestureConfiguration::header.next. A configuration without it, or with no peers in it, lets every peer’s gestures move and scale the app. A gesture from a peer not in the list still reaches the app, unmapped, so the app knows about it; only the app transform is kept from it. A configuration is replaced whole, so chain the extension every time the configuration is changed. Read the list back with qar_app_volume_get_gesture_allowed_peers().
Whatever the list, only one peer at a time manipulates a volume: the first whose manipulation binds holds it until that manipulation ends. See qar_app_volume_get_gesture_holder().
Fields§
§header: QarStructureHeader§allowed_peers: *const QarPeerId§allowed_peer_count: usizeTrait Implementations§
impl Copy for QarAppVolumeGestureAllowedPeersExt
impl StructuralPartialEq for QarAppVolumeGestureAllowedPeersExt
Auto Trait Implementations§
impl !Send for QarAppVolumeGestureAllowedPeersExt
impl !Sync for QarAppVolumeGestureAllowedPeersExt
impl Freeze for QarAppVolumeGestureAllowedPeersExt
impl RefUnwindSafe for QarAppVolumeGestureAllowedPeersExt
impl Unpin for QarAppVolumeGestureAllowedPeersExt
impl UnsafeUnpin for QarAppVolumeGestureAllowedPeersExt
impl UnwindSafe for QarAppVolumeGestureAllowedPeersExt
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