Struct gdnative_sys::godot_net_multiplayer_peer [−][src]
Fields
version: godot_gdnative_api_versiondata: *mut godot_objectget_packet: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut *const u8, arg3: *mut c_int) -> godot_error>put_packet: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const u8, arg3: c_int) -> godot_error>get_available_packet_count: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>get_max_packet_size: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>set_transfer_mode: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: godot_int)>get_transfer_mode: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>set_target_peer: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: godot_int)>get_packet_peer: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>is_server: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_bool>poll: Option<unsafe extern "C" fn(arg1: *mut c_void)>get_unique_id: Option<unsafe extern "C" fn(arg1: *const c_void) -> i32>set_refuse_new_connections: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: godot_bool)>is_refusing_new_connections: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_bool>get_connection_status: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>next: *mut c_voidTrait Implementations
impl Clone for godot_net_multiplayer_peer[src]
fn clone(&self) -> godot_net_multiplayer_peer[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for godot_net_multiplayer_peer[src]
impl Debug for godot_net_multiplayer_peer[src]
impl Default for godot_net_multiplayer_peer[src]
Auto Trait Implementations
impl RefUnwindSafe for godot_net_multiplayer_peer[src]
impl !Send for godot_net_multiplayer_peer[src]
impl !Sync for godot_net_multiplayer_peer[src]
impl Unpin for godot_net_multiplayer_peer[src]
impl UnwindSafe for godot_net_multiplayer_peer[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,