Struct wildland_cargo_lib::ffi::StorageTemplate
source · [−]pub struct StorageTemplate { /* private fields */ }
Implementations
sourceimpl StorageTemplate
impl StorageTemplate
pub fn new(inner: Rc<dyn StorageTemplateTrait + 'static>) -> StorageTemplate
pub fn uuid(&self) -> Uuid
pub fn data(&self) -> Vec<u8, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn with_template(
storage_template: Rc<dyn StorageTemplateTrait + 'static>
) -> StorageTemplate
Trait Implementations
sourceimpl Clone for StorageTemplate
impl Clone for StorageTemplate
sourcefn clone(&self) -> StorageTemplate
fn clone(&self) -> StorageTemplate
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl From<FoundationStorageTemplate> for StorageTemplate
impl From<FoundationStorageTemplate> for StorageTemplate
sourcefn from(fst: FoundationStorageTemplate) -> Self
fn from(fst: FoundationStorageTemplate) -> Self
Converts to this type from the input type.
sourceimpl Serialize for StorageTemplate
impl Serialize for StorageTemplate
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl !RefUnwindSafe for StorageTemplate
impl !Send for StorageTemplate
impl !Sync for StorageTemplate
impl Unpin for StorageTemplate
impl !UnwindSafe for StorageTemplate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more