pub struct SidLibrarySource {
pub file_name: String,
pub source: String,
pub library: String,
pub entry_point: String,
pub build: String,
pub loaded_by: SidLibraryLoader,
}Expand description
A library’s source, shipped in the deploy bundle for the operator to
compile — returned by ReplicationRenderer::sid_library_source.
Fields§
§file_name: StringThe name the bundle writes the source under, e.g. razeri_sid.c.
source: StringThe source itself.
library: StringThe compiled library’s name without its suffix, e.g. razeri_sid. The
build writes it with the suffix the operating system gives a shared
library (.so, .dylib, .dll).
entry_point: StringThe function called when the library is loaded.
build: StringThe one line that builds it, for the platform most operators have.
loaded_by: SidLibraryLoaderWhat loads it: the client, into each connection, or the server, once.
Trait Implementations§
Source§impl Clone for SidLibrarySource
impl Clone for SidLibrarySource
Source§impl Debug for SidLibrarySource
impl Debug for SidLibrarySource
impl Eq for SidLibrarySource
Source§impl PartialEq for SidLibrarySource
impl PartialEq for SidLibrarySource
impl StructuralPartialEq for SidLibrarySource
Auto Trait Implementations§
impl Forget for SidLibrarySource
impl Freeze for SidLibrarySource
impl Move for SidLibrarySource
impl RefUnwindSafe for SidLibrarySource
impl Send for SidLibrarySource
impl Sync for SidLibrarySource
impl Unpin for SidLibrarySource
impl UnsafeUnpin for SidLibrarySource
impl UnwindSafe for SidLibrarySource
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