Enum dynamic_reload::PlatformName
source · pub enum PlatformName {
No,
Yes,
}
Expand description
This is used to decide how the name used for add_library is to be handled.
Variants§
No
Leave name as is and don’t do any formating.
Yes
Format the name according to standard shared library name on the platform.
ⓘ
Windows: foobar -> foobar.dll
Linux: foobar -> libfoobar.so
Mac: foobar -> libfoobar.dylib
Trait Implementations§
source§impl PartialEq<PlatformName> for PlatformName
impl PartialEq<PlatformName> for PlatformName
source§fn eq(&self, other: &PlatformName) -> bool
fn eq(&self, other: &PlatformName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.