pub struct Data { /* private fields */ }
Implementations§
Source§impl Data
impl Data
pub fn new<S: Into<String>>( name: S, rl_type: Reference<TypeId>, period: Option<Duration>, position: Option<Position>, ) -> Self
pub fn rl_type(&self) -> &Reference<TypeId>
pub fn set_type(&mut self, id: TypeId)
pub fn period(&self) -> Option<Duration>
pub fn resolve_type( &mut self, map: &HashMap<String, TypeId>, ) -> Result<(), RlError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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