pub struct FieldConfig {
pub family: FieldFamily,
pub map: EscapeMap,
pub trap: TrapShape,
}Expand description
[field] — the structural configuration, fixed while the preset is loaded
and delivered through Scene::configure, in the shape [curve] and
[particles] already use.
Fields§
§family: FieldFamilyWhich world is drawn.
map: EscapeMapEscape time only: whether c is a parameter or the pixel. The loader
refuses a map on any other family.
trap: TrapShapeEscape time only: the orbit trap, if any. The loader refuses a trap
on any other family.
Trait Implementations§
Source§impl Clone for FieldConfig
impl Clone for FieldConfig
Source§fn clone(&self) -> FieldConfig
fn clone(&self) -> FieldConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FieldConfig
impl Debug for FieldConfig
Source§impl Default for FieldConfig
impl Default for FieldConfig
Source§fn default() -> FieldConfig
fn default() -> FieldConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for FieldConfig
impl PartialEq for FieldConfig
Source§fn eq(&self, other: &FieldConfig) -> bool
fn eq(&self, other: &FieldConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FieldConfig
impl Eq for FieldConfig
impl StructuralPartialEq for FieldConfig
Auto Trait Implementations§
impl Freeze for FieldConfig
impl RefUnwindSafe for FieldConfig
impl Send for FieldConfig
impl Sync for FieldConfig
impl Unpin for FieldConfig
impl UnsafeUnpin for FieldConfig
impl UnwindSafe for FieldConfig
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.