pub struct RomMeta {
pub name: String,
pub id: String,
pub model: Rc<Model>,
pub platform: Rc<Main>,
pub data_path: PathBuf,
}Fields§
§name: String§id: String§model: Rc<Model>§platform: Rc<Main>§data_path: PathBufImplementations§
Source§impl RomMeta
impl RomMeta
Sourcepub fn to_serialized(&self) -> SerializedRomMeta
pub fn to_serialized(&self) -> SerializedRomMeta
Converts the RomMeta to a serialized version for saving
Trait Implementations§
Auto Trait Implementations§
impl !Send for RomMeta
impl !Sync for RomMeta
impl Freeze for RomMeta
impl RefUnwindSafe for RomMeta
impl Unpin for RomMeta
impl UnsafeUnpin for RomMeta
impl UnwindSafe for RomMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more