//? [Valkyrie] crate module_name; using std.traits.PartialEq; using depot.{ExternalClass as Ec, ExternalTrait as Et}; trait TraitName { def trait_method(self) -> Self; def trait_method_mut(mut self) -> Self; def trait_static(arg = 0) -> Self; def trait_static_mut(mut arg) -> Self; } class ClassName: PartialEq { field_string: String = "" field_bool: Boolean = true field_int: Integer = 0 field_f32: Decimal = 0.0 } //? class ClassTuple(Integer = 0, Integer = 0) //? #derive(PartialEq) class ClassBlock { 0: Integer = 0, 1: Integer = 0, } tagged TaggedName { VariantName() } bitset BitsetName(u8) { BIT_FIELD = 0b0000_0001 } def is_some(maybe: Option) -> Boolean { maybe match { case Some(s): true case None: false } }