pub struct FragmentTask {
pub id: U8Data,
pub fractal: FractalDescriptor,
pub max_iteration: u16,
pub resolution: Resolution,
pub range: Range,
}Expand description
Describes a task assigned to a worker for fractal computation by a Server.
Attributes:
id: AnU8Datastructure, typically representing an identifier for the task.fractal: AFractalDescriptordetailing the type and parameters of the fractal to be computed.max_iteration: Au16specifying the maximum number of iterations for the fractal computation.resolution: AResolutionspecifying the resolution of the fragment to be computed.range: ARangedefining the physical space coordinates for the fragment.
Fields§
§id: U8Data§fractal: FractalDescriptor§max_iteration: u16§resolution: Resolution§range: RangeTrait Implementations§
Source§impl Clone for FragmentTask
impl Clone for FragmentTask
Source§fn clone(&self) -> FragmentTask
fn clone(&self) -> FragmentTask
Returns a copy 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 FragmentTask
impl Debug for FragmentTask
Source§impl<'de> Deserialize<'de> for FragmentTask
impl<'de> Deserialize<'de> for FragmentTask
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
Source§impl FragmentTaskOperation for FragmentTask
impl FragmentTaskOperation for FragmentTask
Source§impl PartialEq for FragmentTask
impl PartialEq for FragmentTask
Source§impl Serialize for FragmentTask
impl Serialize for FragmentTask
impl StructuralPartialEq for FragmentTask
Auto Trait Implementations§
impl Freeze for FragmentTask
impl RefUnwindSafe for FragmentTask
impl Send for FragmentTask
impl Sync for FragmentTask
impl Unpin for FragmentTask
impl UnwindSafe for FragmentTask
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,
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