pub struct VrmMeta {
pub name: String,
pub version: String,
pub authors: Vec<String>,
pub license_url: String,
pub allow_antisocial_actions: bool,
pub allow_political_or_religious_usage: bool,
pub allow_excessively_violent_usage: bool,
pub allow_excessively_sexual_usage: bool,
pub commercial_usage: VrmCommercialUsage,
pub credit_notation: VrmCreditNotation,
pub modification: VrmModification,
}Expand description
VRM 1.0 avatar metadata (the meta block inside VRMC_vrm).
Fields§
§name: String§version: String§license_url: String§allow_political_or_religious_usage: bool§allow_excessively_violent_usage: bool§allow_excessively_sexual_usage: bool§commercial_usage: VrmCommercialUsage§credit_notation: VrmCreditNotation§modification: VrmModificationImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VrmMeta
impl RefUnwindSafe for VrmMeta
impl Send for VrmMeta
impl Sync for VrmMeta
impl Unpin for VrmMeta
impl UnsafeUnpin for VrmMeta
impl UnwindSafe for VrmMeta
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