pub fn update_mask(
        &mut self,
        depressed_mods: ModMask,
        latched_mods: ModMask,
        locked_mods: ModMask,
        depressed_layout: LayoutIndex,
        latched_layout: LayoutIndex,
        locked_layout: LayoutIndex,
    ) -> StateComponent {
        unsafe {
            xkb_state_update_mask(
                self.ptr,
                depressed_mods,
                latched_mods,
                locked_mods,
                depressed_layout,
                latched_layout,
                locked_layout,
            )
        }
    }
/// Update a keyboard state from a set of explicit masks.
///
/// This entry point is intended for window systems and the like, where a
/// master process holds an `xkb_state`, then serializes it over a wire
/// protocol, and clients then use the serialization to feed in to their own
/// `xkb_state`.
///
/// All parameters must always be passed, or the resulting state may be
/// incoherent.
///
/// The serialization is lossy and will not survive round trips; it must only
/// be used to feed slave state objects, and must not be used to update the
/// master state.
///
/// If you do not fit the description above, you should use
/// `xkb_state_update_key()` instead. The two functions should not generally be
/// used together.
///
/// Returns a mask of state components that have changed as a result of
/// the update. If nothing in the state has changed, returns 0.
Update a keyboard state from a set of explicit masks.
This entry point is intended for window systems and the like, where a
master process holds an `xkb_state`, then serializes it over a wire
protocol, and clients then use the serialization to feed in to their own
`xkb_state`.

All parameters must always be passed, or the resulting state may be
incoherent.

The serialization is lossy and will not survive round trips; it must only
be used to feed slave state objects, and must not be used to update the
master state.

If you do not fit the description above, you should use
`xkb_state_update_key()` instead. The two functions should not generally be
used together.

Returns a mask of state components that have changed as a result of
the update. If nothing in the state has changed, returns 0.
Update a keyboard state from a set of explicit masks . This entry point is intended for window systems and the like where a master process holds an ` xkb_state ` then serializes it over a wire protocol and clients then use the serialization to feed in to their own ` xkb_state ` . All parameters must always be passed or the resulting state may be incoherent . The serialization is lossy and will not survive round trips ; it must only be used to feed slave state objects and must not be used to update the master state . If you do not fit the description above you should use ` xkb_state_update_key () ` instead . The two functions should not generally be used together . Returns a mask of state components that have changed as a result of the update . If nothing in the state has changed returns 0 .
pub fn update_mask(
        &mut self,
        depressed_mods: ModMask,
        latched_mods: ModMask,
        locked_mods: ModMask,
        depressed_layout: LayoutIndex,
        latched_layout: LayoutIndex,
        locked_layout: LayoutIndex,
    ) -> StateComponent {
        unsafe {
            xkb_state_update_mask(
                self.ptr,
                depressed_mods,
                latched_mods,
                locked_mods,
                depressed_layout,
                latched_layout,
                locked_layout,
            )
        }
    }
pub fn update_mask ( & mut self , depressed_mods : ModMask , latched_mods : ModMask , locked_mods : ModMask , depressed_layout : LayoutIndex , latched_layout : LayoutIndex , locked_layout : LayoutIndex , ) -> StateComponent { unsafe { xkb_state_update_mask ( self . ptr , depressed_mods , latched_mods , locked_mods , depressed_layout , latched_layout , locked_layout , ) } }
Update a keyboard state from a set of explicit masks.
Update a keyboard state from a set of explicit masks .
&mut self
depressed_mods
ModMask
latched_mods
ModMask
locked_mods
ModMask
depressed_layout
LayoutIndex
latched_layout
LayoutIndex
locked_layout
LayoutIndex
&mut self
depressed_mods
ModMask
latched_mods
ModMask
locked_mods
ModMask
depressed_layout
LayoutIndex
latched_layout
LayoutIndex
locked_layout
LayoutIndex