Struct cpm_rs::customtask::CustomTask
source · [−]pub struct CustomTask { /* private fields */ }
Implementations
sourceimpl CustomTask
impl CustomTask
pub fn new(_id: String, _duration: u32, _dependencies: Vec<String>) -> Self
pub fn get_id(&self) -> String
pub fn get_duration(&self) -> u32
pub fn set_duration(&mut self, dur: u32)
pub fn get_dependencies(&self) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn get_early_start(&self) -> i64
pub fn set_early_start(&mut self, es: i64)
pub fn get_early_finish(&self) -> i64
pub fn set_early_finish(&mut self, ef: i64)
pub fn get_late_start(&self) -> i64
pub fn set_late_start(&mut self, ls: i64)
pub fn get_late_finish(&self) -> i64
pub fn set_late_finish(&mut self, lf: i64)
pub fn get_total_float(&self) -> i64
Trait Implementations
sourceimpl Clone for CustomTask
impl Clone for CustomTask
sourcefn clone(&self) -> CustomTask
fn clone(&self) -> CustomTask
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for CustomTask
impl Send for CustomTask
impl Sync for CustomTask
impl Unpin for CustomTask
impl UnwindSafe for CustomTask
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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.
sourcefn 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