pub fn from_resource(seat: &wl_seat::WlSeat) -> Option<Seat> {
        seat.as_ref()
            .user_data()
            .get::<Rc<SeatRc>>()
            .cloned()
            .map(|arc| Seat { arc })
    }
/// Attempt to retrieve a [`Seat`] from an existing resource
Attempt to retrieve a [`Seat`] from an existing resource
Attempt to retrieve a [ ` Seat ` ] from an existing resource
pub fn from_resource(seat: &wl_seat::WlSeat) -> Option<Seat> {
        seat.as_ref()
            .user_data()
            .get::<Rc<SeatRc>>()
            .cloned()
            .map(|arc| Seat { arc })
    }
pub fn from_resource ( seat : & wl_seat :: WlSeat ) -> Option < Seat > { seat . as_ref ( ) . user_data ( ) . get :: < Rc < SeatRc > > ( ) . cloned ( ) . map ( | arc | Seat { arc } ) }
Attempt to retrieve a [`Seat`] from an existing resource
Attempt to retrieve a [ ` Seat ` ] from an existing resource
seat
&wl_seat::WlSeat
seat
&wl_seat::WlSeat