Expand `Seat` documentation

This commit is contained in:
Drakulix 2017-04-15 22:48:55 +02:00
parent cc6f0c9d73
commit 4afad6f939
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ use std::error::Error;
/// however multiseat configurations are possible and should be treated as
/// separated users, all with their own focus, input and cursor available.
///
/// Seats can be checked for equality and hashed for differentiation.
/// Seats referring to the same internal id will always be equal and result in the same
/// hash, but capabilities of cloned and copied `Seat`s will not be updated by smithay.
/// Always referr to the `Seat` given by a callback for up-to-date information. You may
/// use this to calculate the differences since the last callback.
#[derive(Debug, Clone, Copy, Eq)]
pub struct Seat {
id: u64,