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
☰
LRef
Trait Implementations
Common
TGetLogger
TLocation
In muzzman_lib::types
?
Type Definition
muzzman_lib
::
types
::
LRef
source
·
[
−
]
pub type LRef =
Arc
<
RwLock
<
RefLocation
>>;
Trait Implementations
§
source
§
impl
Common
for
LRef
source
§
fn
get_name
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_name
(&self, name: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
source
§
fn
get_desc
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_desc
(&self, desc: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
source
§
fn
notify
(&self, event:
Event
) ->
Result
<
()
,
SessionError
>
source
§
fn
emit
(&self, event:
Event
) ->
Result
<
()
,
SessionError
>
source
§
fn
subscribe
(&self, _ref:
Ref
) ->
Result
<
()
,
SessionError
>
source
§
fn
unsubscribe
(&self, _ref:
Ref
) ->
Result
<
()
,
SessionError
>
source
§
impl
TGetLogger
for
LRef
source
§
fn
get_logger
(&self, dst:
Option
<
Arc
<
Mutex
<
File
>>>) ->
Logger
source
§
impl
TLocation
for
LRef
source
§
fn
get_session
(&self) ->
Result
<
Box
<dyn
TSession
>,
SessionError
>
source
§
fn
get_path
(&self) ->
Result
<
PathBuf
,
SessionError
>
source
§
fn
set_path
(&self, path:
PathBuf
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_where_is
(&self) ->
Result
<
WhereIsLocation
,
SessionError
>
source
§
fn
set_where_is
(&self, where_is:
WhereIsLocation
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_should_save
(&self) ->
Result
<
bool
,
SessionError
>
source
§
fn
set_should_save
(&self, should_save:
bool
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_elements
(&self, range:
Range
<
usize
>) ->
Result
<
Vec
<
ERef
>,
SessionError
>
source
§
fn
get_elements_len
(&self) ->
Result
<
usize
,
SessionError
>
source
§
fn
get_locations
(&self, range:
Range
<
usize
>) ->
Result
<
Vec
<
LRef
>,
SessionError
>
source
§
fn
get_locations_len
(&self) ->
Result
<
usize
,
SessionError
>
source
§
fn
get_location_info
(&self) ->
Result
<
LocationInfo
,
SessionError
>
source
§
fn
create_element
(&self, name: &
str
) ->
Result
<
ERef
,
SessionError
>
source
§
fn
create_location
(&self, name: &
str
) ->
Result
<
LRef
,
SessionError
>
source
§
fn
destroy
(self) ->
Result
<
LRow
,
SessionError
>
source
§
fn
_move
(&self, to: &
LRef
) ->
Result
<
()
,
SessionError
>