Struct gdnative_sys::godot_net_webrtc_peer_connection[][src]

#[repr(C)]pub struct godot_net_webrtc_peer_connection {
    pub version: godot_gdnative_api_version,
    pub data: *mut godot_object,
    pub get_connection_state: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>,
    pub initialize: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const godot_dictionary) -> godot_error>,
    pub create_data_channel: Option<unsafe extern "C" fn(arg1: *mut c_void, p_channel_name: *const c_char, arg2: *const godot_dictionary) -> *mut godot_object>,
    pub create_offer: Option<unsafe extern "C" fn(arg1: *mut c_void) -> godot_error>,
    pub create_answer: Option<unsafe extern "C" fn(arg1: *mut c_void) -> godot_error>,
    pub set_remote_description: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: *const c_char) -> godot_error>,
    pub set_local_description: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: *const c_char) -> godot_error>,
    pub add_ice_candidate: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: c_int, arg4: *const c_char) -> godot_error>,
    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_versiondata: *mut godot_objectget_connection_state: Option<unsafe extern "C" fn(arg1: *const c_void) -> godot_int>initialize: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const godot_dictionary) -> godot_error>create_data_channel: Option<unsafe extern "C" fn(arg1: *mut c_void, p_channel_name: *const c_char, arg2: *const godot_dictionary) -> *mut godot_object>create_offer: Option<unsafe extern "C" fn(arg1: *mut c_void) -> godot_error>create_answer: Option<unsafe extern "C" fn(arg1: *mut c_void) -> godot_error>set_remote_description: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: *const c_char) -> godot_error>set_local_description: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: *const c_char) -> godot_error>add_ice_candidate: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: c_int, arg4: *const c_char) -> godot_error>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_void

Trait Implementations

impl Clone for godot_net_webrtc_peer_connection[src]

impl Copy for godot_net_webrtc_peer_connection[src]

impl Debug for godot_net_webrtc_peer_connection[src]

impl Default for godot_net_webrtc_peer_connection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.