Skip to main content

IWWWMethods

Trait IWWWMethods 

Source
pub trait IWWWMethods: IWWW {
Show 15 methods // Provided methods fn ctor(self, url: impl Into<Il2CppString>, form: impl Into<WWWForm>) { ... } fn ctor_2( self, url: impl Into<Il2CppString>, post_data: impl Into<Array<u8>>, ) { ... } fn ctor_3( self, url: impl Into<Il2CppString>, post_data: impl Into<Array<u8>>, headers: impl Into<Dictionary_2<Il2CppString, Il2CppString>>, ) { ... } fn ctor_4( self, url: impl Into<Il2CppString>, name: impl Into<Il2CppString>, hash: impl Into<Hash128>, crc: impl Into<u32>, ) { ... } fn get_asset_bundle(self) -> AssetBundle { ... } fn get_bytes(self) -> Array<u8> { ... } fn get_error(self) -> Il2CppString { ... } fn get_is_done(self) -> bool { ... } fn get_progress(self) -> f32 { ... } fn get_response_headers(self) -> Dictionary_2<Il2CppString, Il2CppString> { ... } fn get_text(self) -> Il2CppString { ... } fn get_url(self) -> Il2CppString { ... } fn get_keep_waiting(self) -> bool { ... } fn dispose(self) { ... } fn wait_until_done_if_possible(self) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self, url: impl Into<Il2CppString>, form: impl Into<WWWForm>)

.ctor(::unity::Il2CppString, crate::unity_engine::wwwform::WWWForm) overload

Source

fn ctor_2(self, url: impl Into<Il2CppString>, post_data: impl Into<Array<u8>>)

.ctor(::unity::Il2CppString, ::unity::Array<u8>) overload

Source

fn ctor_3( self, url: impl Into<Il2CppString>, post_data: impl Into<Array<u8>>, headers: impl Into<Dictionary_2<Il2CppString, Il2CppString>>, )

.ctor(::unity::Il2CppString, ::unity::Array<u8>, crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString,::unity::Il2CppString>) overload

Source

fn ctor_4( self, url: impl Into<Il2CppString>, name: impl Into<Il2CppString>, hash: impl Into<Hash128>, crc: impl Into<u32>, )

.ctor(::unity::Il2CppString, ::unity::Il2CppString, crate::unity_engine::hash128::Hash128, u32) overload

Source

fn get_asset_bundle(self) -> AssetBundle

get_assetBundle() overload

Source

fn get_bytes(self) -> Array<u8>

get_bytes() overload

Source

fn get_error(self) -> Il2CppString

get_error() overload

Source

fn get_is_done(self) -> bool

get_isDone() overload

Source

fn get_progress(self) -> f32

get_progress() overload

Source

fn get_response_headers(self) -> Dictionary_2<Il2CppString, Il2CppString>

get_responseHeaders() overload

Source

fn get_text(self) -> Il2CppString

get_text() overload

Source

fn get_url(self) -> Il2CppString

get_url() overload

Source

fn get_keep_waiting(self) -> bool

get_keepWaiting() overload

Source

fn dispose(self)

Dispose() overload

Source

fn wait_until_done_if_possible(self) -> bool

WaitUntilDoneIfPossible() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IWWW> IWWWMethods for __T

Available on crate feature unity_engine-www only.