pub struct AppVolumeConfig {
pub common_name: String,
pub display_name: Option<String>,
pub pose: Pose,
pub size: AppVolumeSize,
pub initial_peers: Vec<PeerId>,
pub app_pose: Pose,
pub app_scale: f32,
}Expand description
Options for qar_app_volumes_get_or_create.
Fields§
§common_name: StringStable identity; the volume id derives from it, so the same name reattaches to the same volume.
display_name: Option<String>§pose: PosePose of the cuboid’s center in room space.
size: AppVolumeSize§initial_peers: Vec<PeerId>§app_pose: PoseWhere the app origin sits, in volume meters (not scaled).
app_scale: f32Room meters per app meter.
Implementations§
Trait Implementations§
Source§impl Clone for AppVolumeConfig
impl Clone for AppVolumeConfig
Auto Trait Implementations§
impl Freeze for AppVolumeConfig
impl RefUnwindSafe for AppVolumeConfig
impl Send for AppVolumeConfig
impl Sync for AppVolumeConfig
impl Unpin for AppVolumeConfig
impl UnsafeUnpin for AppVolumeConfig
impl UnwindSafe for AppVolumeConfig
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