#[repr(C)]pub struct PluginDeclaration {
pub data_version: u32,
pub data: PluginDeclarationInfo,
}
Expand description
The same memory layout as PluginVersionData
.
Fields§
§data_version: u32
§data: PluginDeclarationInfo
Implementations§
Source§impl PluginDeclaration
impl PluginDeclaration
pub fn get_singleton() -> Option<&'static mut Self>
Trait Implementations§
Source§impl Clone for PluginDeclaration
impl Clone for PluginDeclaration
Source§fn clone(&self) -> PluginDeclaration
fn clone(&self) -> PluginDeclaration
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PluginDeclaration
impl RefUnwindSafe for PluginDeclaration
impl Send for PluginDeclaration
impl Sync for PluginDeclaration
impl Unpin for PluginDeclaration
impl UnwindSafe for PluginDeclaration
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