pub struct StudioHeader {
pub id: i32,
pub version: i32,
pub name: [u8; 64],
pub eye_position: Vector,
pub illumination_position: Vector,
pub bounding_box: [Vector; 2],
pub view_bounding_box: [Vector; 2],
pub flags: ModelFlags,
pub mass: f32,
pub contents: ContentFlags,
/* private fields */
}Fields§
§id: i32§version: i32§name: [u8; 64]§eye_position: Vector§illumination_position: Vector§bounding_box: [Vector; 2]§view_bounding_box: [Vector; 2]§flags: ModelFlags§mass: f32§contents: ContentFlagsImplementations§
Source§impl StudioHeader
impl StudioHeader
pub fn bone_indexes(&self) -> impl Iterator<Item = usize>
pub fn bone_controller_indexes(&self) -> impl Iterator<Item = usize>
pub fn bone_table_by_name_indexes(&self) -> impl Iterator<Item = usize>
pub fn hitbox_set_indexes(&self) -> impl Iterator<Item = usize>
pub fn local_animation_indexes(&self) -> impl Iterator<Item = usize>
pub fn texture_indexes(&self) -> impl Iterator<Item = usize>
pub fn texture_dir_indexes(&self) -> impl Iterator<Item = usize>
pub fn skin_reference_indexes(&self) -> impl Iterator<Item = usize>
pub fn body_part_indexes(&self) -> impl Iterator<Item = usize>
pub fn attachment_indexes(&self) -> impl Iterator<Item = usize>
pub fn local_node_indexes(&self) -> impl Iterator<Item = usize>
pub fn local_node_name_indexes(&self) -> impl Iterator<Item = usize>
pub fn flex_descriptor_indexes(&self) -> impl Iterator<Item = usize>
pub fn flex_controller_indexes(&self) -> impl Iterator<Item = usize>
pub fn flex_rule_indexes(&self) -> impl Iterator<Item = usize>
pub fn ik_chain_indexes(&self) -> impl Iterator<Item = usize>
pub fn mouth_indexes(&self) -> impl Iterator<Item = usize>
pub fn local_pose_param_indexes(&self) -> impl Iterator<Item = usize>
pub fn ik_lock_indexes(&self) -> impl Iterator<Item = usize>
pub fn include_model_indexes(&self) -> impl Iterator<Item = usize>
pub fn animation_block_indexes(&self) -> impl Iterator<Item = usize>
pub fn animation_sequence_indexes(&self) -> impl Iterator<Item = usize>
pub fn flex_controller_ui_indexes(&self) -> impl Iterator<Item = usize>
Trait Implementations§
Source§impl Clone for StudioHeader
impl Clone for StudioHeader
Source§fn clone(&self) -> StudioHeader
fn clone(&self) -> StudioHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StudioHeader
impl Debug for StudioHeader
impl Copy for StudioHeader
impl Pod for StudioHeader
Auto Trait Implementations§
impl Freeze for StudioHeader
impl RefUnwindSafe for StudioHeader
impl Send for StudioHeader
impl Sync for StudioHeader
impl Unpin for StudioHeader
impl UnwindSafe for StudioHeader
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.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