pub struct BlocklyMode {Show 17 fields
pub name: String,
pub default_name: String,
pub color: Color3,
pub cell_type: u32,
pub parent_make_adhesion: bool,
pub split_mass: f32,
pub split_interval: f32,
pub parent_split_direction: Vec2,
pub max_adhesions: u32,
pub min_adhesions: u32,
pub enable_parent_angle_snapping: bool,
pub max_splits: i32,
pub mode_a_after_splits: i32,
pub mode_b_after_splits: i32,
pub child_a: ChildSettings,
pub child_b: ChildSettings,
pub adhesion_settings: AdhesionSettings,
}Fields§
§name: String§default_name: String§color: Color3§cell_type: u32§parent_make_adhesion: bool§split_mass: f32§split_interval: f32§parent_split_direction: Vec2§max_adhesions: u32§min_adhesions: u32§enable_parent_angle_snapping: bool§max_splits: i32§mode_a_after_splits: i32§mode_b_after_splits: i32§child_a: ChildSettings§child_b: ChildSettings§adhesion_settings: AdhesionSettingsTrait Implementations§
Source§impl Clone for BlocklyMode
impl Clone for BlocklyMode
Source§fn clone(&self) -> BlocklyMode
fn clone(&self) -> BlocklyMode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlocklyMode
impl Debug for BlocklyMode
Source§impl<'de> Deserialize<'de> for BlocklyMode
impl<'de> Deserialize<'de> for BlocklyMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlocklyMode
impl RefUnwindSafe for BlocklyMode
impl Send for BlocklyMode
impl Sync for BlocklyMode
impl Unpin for BlocklyMode
impl UnwindSafe for BlocklyMode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)