pub struct EntityStateUpdateBuilder(/* private fields */);Implementations§
Source§impl EntityStateUpdateBuilder
impl EntityStateUpdateBuilder
pub fn new() -> Self
pub fn new_from_body(body: EntityStateUpdate) -> Self
pub fn build(self) -> EntityStateUpdate
pub fn with_entity_id(self, entity_id: EntityId) -> Self
pub fn with_velocity(self, velocity: VectorF32) -> Self
pub fn with_location(self, location: Location) -> Self
pub fn with_orientation(self, orientation: Orientation) -> Self
pub fn with_appearance(self, appearance: EntityAppearance) -> Self
pub fn with_variable_parameter(self, parameter: VariableParameter) -> Self
pub fn with_variable_parameters( self, parameters: Vec<VariableParameter>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntityStateUpdateBuilder
impl RefUnwindSafe for EntityStateUpdateBuilder
impl Send for EntityStateUpdateBuilder
impl Sync for EntityStateUpdateBuilder
impl Unpin for EntityStateUpdateBuilder
impl UnwindSafe for EntityStateUpdateBuilder
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