Docs.rs
muzzman-lib-0.2.0
muzzman-lib 0.2.0
Docs.rs crate page
GPL-3.0
Links
Repository
crates.io
Source
Owners
konkitoman
Dependencies
get_ref ^0.1.0
normal
libloading ^0.7.4
normal
muzzman-lib-macros ^0.1.2
normal
rand ^0.8.5
normal
serde ^1.0.152
normal
serde_json ^1.0.91
normal
url ^2.3.1
normal
Versions
1.83%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
MRef
Trait Implementations
TModuleInfo
In muzzman_lib::types
?
Type Definition
muzzman_lib
::
types
::
MRef
source
·
[
−
]
pub type MRef =
Arc
<
RwLock
<
RefModule
>>;
Trait Implementations
§
source
§
impl
TModuleInfo
for
MRef
source
§
fn
get_session
(&self) ->
Result
<
Box
<dyn
TSession
>,
SessionError
>
source
§
fn
get_name
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_name
(&self, name: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
source
§
fn
set_default_name
(&self) ->
Result
<
()
,
SessionError
>
source
§
fn
get_desc
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_desc
(&self, desc: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
source
§
fn
set_default_desc
(&self) ->
Result
<
()
,
SessionError
>
source
§
fn
get_proxy
(&self) ->
Result
<
usize
,
SessionError
>
source
§
fn
set_proxy
(&self, proxy:
usize
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_settings
(&self) ->
Result
<
Data
,
SessionError
>
source
§
fn
set_settings
(&self, settings:
Data
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_element_settings
(&self) ->
Result
<
Data
,
SessionError
>
source
§
fn
set_element_settings
(&self, settings:
Data
) ->
Result
<
()
,
SessionError
>
source
§
fn
register_action
(
&self,
name:
String
,
values:
Vec
<(
String
,
Value
)>,
callback:
fn
(_:
MRef
, values:
Vec
<
Type
>)
) ->
Result
<
()
,
SessionError
>
source
§
fn
remove_action
(&self, name:
String
) ->
Result
<
()
,
SessionError
>
source
§
fn
run_action
(&self, name:
String
, data:
Vec
<
Type
>) ->
Result
<
()
,
SessionError
>
source
§
fn
step_element
(
&self,
element_info: &
ERef
,
control_flow: &mut
ControlFlow
,
storage: &mut
Storage
) ->
Result
<
()
,
SessionError
>
source
§
fn
step_location
(
&self,
location_info: &
LRef
,
control_flow: &mut
ControlFlow
,
storage: &mut
Storage
) ->
Result
<
()
,
SessionError
>
source
§
fn
accept_url
(&self, url:
Url
) ->
Result
<
bool
,
SessionError
>
source
§
fn
accept_extension
(
&self,
filename: impl
Into
<
String
>
) ->
Result
<
bool
,
SessionError
>
source
§
fn
init_element
(&self, element_info: &
ERef
) ->
Result
<
()
,
SessionError
>
source
§
fn
init_location
(
&self,
location_info: &
LRef
,
data:
FileOrData
) ->
Result
<
()
,
SessionError
>
source
§
fn
notify
(&self, info:
Ref
, event:
Event
) ->
Result
<
()
,
SessionError
>