pub struct HidServer { /* private fields */ }
Trait Implementations
sourceimpl IClientObject for HidServer
impl IClientObject for HidServer
fn new(session: Session) -> Self
fn get_session(&mut self) -> &mut Session
fn get_info(&mut self) -> ObjectInfo
fn set_info(&mut self, info: ObjectInfo)
fn convert_to_domain(&mut self) -> Result<()>
fn query_own_pointer_buffer_size(&mut self) -> Result<u16>
fn close_session(&mut self)
fn is_valid(&mut self) -> bool
fn is_domain(&mut self) -> bool
sourceimpl IHidServer for HidServer
impl IHidServer for HidServer
fn create_applet_resource(
&mut self,
aruid: ProcessId
) -> Result<Shared<dyn IAppletResource>>
fn set_supported_npad_style_set(
&mut self,
aruid: ProcessId,
npad_style_tag: NpadStyleTag
) -> Result<()>
fn set_supported_npad_id_type(
&mut self,
aruid: ProcessId,
controllers: InPointerBuffer<ControllerId>
) -> Result<()>
fn activate_npad(&mut self, aruid: ProcessId) -> Result<()>
fn deactivate_npad(&mut self, aruid: ProcessId) -> Result<()>
fn set_npad_joy_assignment_mode_single(
&mut self,
aruid: ProcessId,
controller: ControllerId,
joy_type: NpadJoyDeviceType
) -> Result<()>
fn set_npad_joy_assignment_mode_dual(
&mut self,
aruid: ProcessId,
controller: ControllerId
) -> Result<()>
fn sf_server_impl_create_applet_resource(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_set_supported_npad_style_set(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_set_supported_npad_id_type(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_activate_npad(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_deactivate_npad(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_set_npad_joy_assignment_mode_single(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_set_npad_joy_assignment_mode_dual(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
sourceimpl IObject for HidServer
impl IObject for HidServer
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for HidServer
impl Send for HidServer
impl Sync for HidServer
impl Unpin for HidServer
impl UnwindSafe for HidServer
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more