pub struct PluginLayout {
pub dir: PathBuf,
pub name: String,
}Fields§
§dir: PathBuf§name: StringImplementations§
Source§impl PluginLayout
impl PluginLayout
pub fn new(dir: &Path) -> Self
pub fn descriptor(&self) -> PathBuf
pub fn config_file(&self) -> PathBuf
pub fn rust_workspace(&self) -> PathBuf
pub fn module_dir(&self) -> PathBuf
pub fn binaries(&self, platform: &str) -> PathBuf
pub fn library_stem(&self) -> String
pub fn output(&self, kind: LibraryKind) -> LibraryOutput
Auto Trait Implementations§
impl Freeze for PluginLayout
impl RefUnwindSafe for PluginLayout
impl Send for PluginLayout
impl Sync for PluginLayout
impl Unpin for PluginLayout
impl UnsafeUnpin for PluginLayout
impl UnwindSafe for PluginLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more