#[repr(C)]pub struct CoreData {
pub data: [u8; 28],
pub name: CString16<10>,
}
Fields
data: [u8; 28]
name: CString16<10>
Implementations
sourceimpl CoreData
impl CoreData
pub fn get_hair_type(&self) -> HairType
pub fn set_hair_type(&mut self, hair_type: HairType)
pub fn get_height(&self) -> u8
pub fn set_height(&mut self, height: u8)
pub fn get_mole_type(&self) -> MoleType
pub fn set_mole_type(&mut self, mole_type: MoleType)
pub fn get_build(&self) -> u8
pub fn set_build(&mut self, build: u8)
pub fn get_hair_flip(&self) -> HairFlip
pub fn set_hair_flip(&mut self, hair_flip: HairFlip)
pub fn get_hair_color(&self) -> CommonColor
pub fn set_hair_color(&mut self, color: CommonColor)
pub fn get_type(&self) -> u8
pub fn set_type(&mut self, type_val: u8)
pub fn get_eye_color(&self) -> u8
pub fn set_eye_color(&mut self, color: u8)
pub fn get_gender(&self) -> Gender
pub fn set_gender(&mut self, gender: Gender)
pub fn get_eyebrow_color(&self) -> u8
pub fn set_eyebrow_color(&mut self, color: u8)
pub fn get_mouth_color(&self) -> u8
pub fn set_mouth_color(&mut self, color: u8)
pub fn get_beard_color(&self) -> u8
pub fn set_beard_color(&mut self, color: u8)
pub fn get_glass_color(&self) -> u8
pub fn set_glass_color(&mut self, color: u8)
pub fn get_eye_type(&self) -> EyeType
pub fn set_eye_type(&mut self, eye_type: EyeType)
pub fn get_region_move(&self) -> u8
pub fn set_region_move(&mut self, region_move: u8)
pub fn get_mouth_type(&self) -> MouthType
pub fn set_mouth_type(&mut self, mouth_type: MouthType)
pub fn get_font_region(&self) -> FontRegion
pub fn set_font_region(&mut self, font_region: FontRegion)
pub fn get_eye_y(&self) -> u8
pub fn set_eye_y(&mut self, y: u8)
pub fn get_glass_scale(&self) -> u8
pub fn set_glass_scale(&mut self, scale: u8)
pub fn get_eyebrow_type(&self) -> EyebrowType
pub fn set_eyebrow_type(&mut self, eyebrow_type: EyebrowType)
pub fn get_mustache_type(&self) -> MustacheType
pub fn set_mustache_type(&mut self, mustache_type: MustacheType)
pub fn get_nose_type(&self) -> NoseType
pub fn set_nose_type(&mut self, nose_type: NoseType)
pub fn get_beard_type(&self) -> BeardType
pub fn set_beard_type(&mut self, beard_type: BeardType)
pub fn get_nose_y(&self) -> u8
pub fn set_nose_y(&mut self, y: u8)
pub fn get_mouth_aspect(&self) -> u8
pub fn set_mouth_aspect(&mut self, aspect: u8)
pub fn get_mouth_y(&self) -> u8
pub fn set_mouth_y(&mut self, y: u8)
pub fn get_eyebrow_aspect(&self) -> u8
pub fn set_eyebrow_aspect(&mut self, aspect: u8)
pub fn get_mustache_y(&self) -> u8
pub fn set_mustache_y(&mut self, y: u8)
pub fn get_eye_rotate(&self) -> u8
pub fn set_eye_rotate(&mut self, rotate: u8)
pub fn get_glass_y(&self) -> u8
pub fn set_glass_y(&mut self, y: u8)
pub fn get_eye_aspect(&self) -> u8
pub fn set_eye_aspect(&mut self, aspect: u8)
pub fn get_mole_x(&self) -> u8
pub fn set_mole_x(&mut self, x: u8)
pub fn get_eye_scale(&self) -> u8
pub fn set_eye_scale(&mut self, scale: u8)
pub fn get_mole_y(&self) -> u8
pub fn set_mole_y(&mut self, y: u8)
pub fn get_glass_type(&self) -> GlassType
pub fn set_glass_type(&mut self, glass_type: GlassType)
pub fn get_favorite_color(&self) -> u8
pub fn set_favorite_color(&mut self, favorite_color: u8)
pub fn get_faceline_type(&self) -> FacelineType
pub fn set_faceline_type(&mut self, faceline_type: FacelineType)
pub fn get_faceline_color(&self) -> FacelineColor
pub fn set_faceline_color(&mut self, faceline_color: FacelineColor)
pub fn get_faceline_wrinkle(&self) -> FacelineWrinkle
pub fn set_faceline_wrinkle(&mut self, faceline_wrinkle: FacelineWrinkle)
pub fn get_faceline_make(&self) -> FacelineMake
pub fn set_faceline_make(&mut self, faceline_make: FacelineMake)
pub fn get_eye_x(&self) -> u8
pub fn set_eye_x(&mut self, x: u8)
pub fn get_eyebrow_scale(&self) -> u8
pub fn set_eyebrow_scale(&mut self, scale: u8)
pub fn get_eyebrow_rotate(&self) -> u8
pub fn set_eyebrow_rotate(&mut self, rotate: u8)
pub fn get_eyebrow_x(&self) -> u8
pub fn set_eyebrow_x(&mut self, x: u8)
pub fn get_eyebrow_y(&self) -> u8
pub fn set_eyebrow_y(&mut self, y: u8)
pub fn get_nose_scale(&self) -> u8
pub fn set_nose_scale(&mut self, scale: u8)
pub fn get_mouth_scale(&self) -> u8
pub fn set_mouth_scale(&mut self, scale: u8)
pub fn get_mustache_scale(&self) -> u8
pub fn set_mustache_scale(&mut self, scale: u8)
pub fn get_mole_scale(&self) -> u8
pub fn set_mole_scale(&mut self, scale: u8)
pub fn from_charinfo(char_info: CharInfo) -> Result<Self>
pub fn to_charinfo(&self) -> Result<CharInfo>
Trait Implementations
impl Copy for CoreData
impl Eq for CoreData
impl StructuralEq for CoreData
impl StructuralPartialEq for CoreData
Auto Trait Implementations
impl RefUnwindSafe for CoreData
impl Send for CoreData
impl Sync for CoreData
impl Unpin for CoreData
impl UnwindSafe for CoreData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RequestCommandParameter for T where
T: Copy,
impl<T> RequestCommandParameter for T where
T: Copy,
default fn before_request_write(
_raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
default fn before_send_sync_request(
raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
sourceimpl<T> RequestCommandParameter<T> for T where
T: Copy,
impl<T> RequestCommandParameter<T> for T where
T: Copy,
default fn after_request_read(
ctx: &mut ServerContext<'_>
) -> Result<T, ResultCode>
sourceimpl<T> ResponseCommandParameter for T where
T: Copy,
impl<T> ResponseCommandParameter for T where
T: Copy,
default fn before_response_write(
_raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
default fn after_response_write(
raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
sourceimpl<T> ResponseCommandParameter<T> for T where
T: Copy,
impl<T> ResponseCommandParameter<T> for T where
T: Copy,
default fn after_response_read(
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<T, ResultCode>
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more