mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-20 03:24:52 +00:00
chore: use triple slash for docstrings
This commit is contained in:
parent
aa4de57094
commit
e486d36084
3 changed files with 4 additions and 6 deletions
|
@ -134,9 +134,7 @@ impl PhysicalXRDevice {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a Vec of tuples, each representing (vendor_id, product_id)
|
||||
*/
|
||||
/// Returns a Vec of tuples, each representing (vendor_id, product_id)
|
||||
fn list_usb_devs() -> Vec<(u16, u16)> {
|
||||
let ctx = rusb::Context::new().expect("Failed to create libusb context");
|
||||
let devs = ctx
|
||||
|
|
|
@ -35,7 +35,7 @@ pub fn wivrn_apk_download_path() -> PathBuf {
|
|||
|
||||
pub const SYSTEM_PREFIX: &str = "/usr";
|
||||
|
||||
/** System prefix inside a bubblewrap environment (flatpak or pressure vessel) */
|
||||
/// System prefix inside a bubblewrap environment (flatpak or pressure vessel)
|
||||
pub const BWRAP_SYSTEM_PREFIX: &str = "/run/host/usr";
|
||||
|
||||
pub fn get_home_dir() -> PathBuf {
|
||||
|
|
|
@ -239,13 +239,13 @@ pub struct Profile {
|
|||
pub opencomposite_branch: Option<String>,
|
||||
pub features: ProfileFeatures,
|
||||
pub environment: HashMap<String, String>,
|
||||
/** Install prefix */
|
||||
/// Install prefix
|
||||
pub prefix: PathBuf,
|
||||
pub can_be_built: bool,
|
||||
pub editable: bool,
|
||||
pub pull_on_build: bool,
|
||||
#[serde(default = "LighthouseDriver::default")]
|
||||
/** Only applicable for Monado */
|
||||
/// Only applicable for Monado
|
||||
pub lighthouse_driver: LighthouseDriver,
|
||||
#[serde(default = "String::default")]
|
||||
pub xrservice_launch_options: String,
|
||||
|
|
Loading…
Add table
Reference in a new issue