Struct dis_rs::EmitterSystem
source · pub struct EmitterSystem {
pub name: EmitterName,
pub function: EmitterSystemFunction,
pub number: u8,
pub location: VectorF32,
pub beams: Vec<Beam>,
}Fields§
§name: EmitterName§function: EmitterSystemFunction§number: u8§location: VectorF32§beams: Vec<Beam>Implementations§
source§impl EmitterSystem
impl EmitterSystem
pub fn new() -> Self
pub fn with_name(self, name: EmitterName) -> Self
pub fn with_function(self, function: EmitterSystemFunction) -> Self
pub fn with_number(self, number: u8) -> Self
pub fn with_location(self, location: VectorF32) -> Self
pub fn with_beams(self, beams: &mut Vec<Beam>) -> Self
pub fn with_beam(self, beam: Beam) -> Self
pub fn system_data_length_bytes(&self) -> u16
Trait Implementations§
source§impl Default for EmitterSystem
impl Default for EmitterSystem
Auto Trait Implementations§
impl RefUnwindSafe for EmitterSystem
impl Send for EmitterSystem
impl Sync for EmitterSystem
impl Unpin for EmitterSystem
impl UnwindSafe for EmitterSystem
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