#[repr(C)]pub struct godot_net_webrtc_data_channel {Show 20 fields
pub version: godot_gdnative_api_version,
pub data: *mut godot_object,
pub get_packet: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut *const u8, arg3: *mut c_int) -> godot_error>,
pub put_packet: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const u8, arg3: c_int) -> godot_error>,
pub get_available_packet_count: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>,
pub get_max_packet_size: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>,
pub set_write_mode: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: godot_int)>,
pub get_write_mode: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>,
pub was_string_packet: Option<unsafe extern "C" fn(arg1: *const c_void) -> bool>,
pub get_ready_state: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>,
pub get_label: Option<unsafe extern "C" fn(arg1: *const c_void) -> *const c_char>,
pub is_ordered: Option<unsafe extern "C" fn(arg1: *const c_void) -> bool>,
pub get_id: Option<unsafe extern "C" fn(arg1: *const c_void) -> c_int>,
pub get_max_packet_life_time: Option<unsafe extern "C" fn(arg1: *const c_void) -> c_int>,
pub get_max_retransmits: Option<unsafe extern "C" fn(arg1: *const c_void) -> c_int>,
pub get_protocol: Option<unsafe extern "C" fn(arg1: *const c_void) -> *const c_char>,
pub is_negotiated: Option<unsafe extern "C" fn(arg1: *const c_void) -> bool>,
pub poll: Option<unsafe extern "C" fn(arg1: *mut c_void) -> godot_error>,
pub close: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
pub next: *mut c_void,
}Fields§
§version: godot_gdnative_api_version§data: *mut godot_object§get_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_write_mode: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: godot_int)>§get_write_mode: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>§was_string_packet: Option<unsafe extern "C" fn(arg1: *const c_void) -> bool>§get_ready_state: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>§get_label: Option<unsafe extern "C" fn(arg1: *const c_void) -> *const c_char>§is_ordered: Option<unsafe extern "C" fn(arg1: *const c_void) -> bool>§get_id: Option<unsafe extern "C" fn(arg1: *const c_void) -> c_int>§get_max_packet_life_time: Option<unsafe extern "C" fn(arg1: *const c_void) -> c_int>§get_max_retransmits: Option<unsafe extern "C" fn(arg1: *const c_void) -> c_int>§get_protocol: Option<unsafe extern "C" fn(arg1: *const c_void) -> *const c_char>§is_negotiated: Option<unsafe extern "C" fn(arg1: *const c_void) -> bool>§poll: Option<unsafe extern "C" fn(arg1: *mut c_void) -> godot_error>§close: Option<unsafe extern "C" fn(arg1: *mut c_void)>§next: *mut c_voidTrait Implementations§
Source§impl Clone for godot_net_webrtc_data_channel
impl Clone for godot_net_webrtc_data_channel
Source§fn clone(&self) -> godot_net_webrtc_data_channel
fn clone(&self) -> godot_net_webrtc_data_channel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for godot_net_webrtc_data_channel
Auto Trait Implementations§
impl Freeze for godot_net_webrtc_data_channel
impl RefUnwindSafe for godot_net_webrtc_data_channel
impl !Send for godot_net_webrtc_data_channel
impl !Sync for godot_net_webrtc_data_channel
impl Unpin for godot_net_webrtc_data_channel
impl UnwindSafe for godot_net_webrtc_data_channel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more