Skip to content

Commit

Permalink
Inline links
Browse files Browse the repository at this point in the history
  • Loading branch information
object71 committed May 17, 2022
1 parent f53efdc commit cb5e626
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions crates/bevy_window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,13 +604,10 @@ impl Window {

/// Describes the information needed for a window creation.
///
/// This should be set up before adding the [`WindowPlugin`]. Most of these settings can also later
/// be configured through the [`Window`] resource.
/// This should be set up before adding the [`WindowPlugin`](crate::WindowPlugin). Most of these settings can also later
/// be configured through the [`Window`](crate::Window) resource.
///
/// See [`examples/window/window_settings.rs`](https://github.com/bevyengine/bevy/blob/latest/examples/window/window_settings.rs) for usage.
///
/// [`Window`]: crate::Window
/// [`WindowPlugin`]: crate::WindowPlugin
#[derive(Debug, Clone)]
pub struct WindowDescriptor {
/// The requested logical width of the window's client area.
Expand All @@ -620,9 +617,7 @@ pub struct WindowDescriptor {
/// The position on the screen that the window will be centered at.
pub position: Option<Vec2>,
pub resize_constraints: WindowResizeConstraints,
/// Overrides the [`Window`]'s ratio of physical pixels to logical pixels
///
/// [`Window`]: crate::Window
/// Overrides the [`Window`](crate::Window)'s ratio of physical pixels to logical pixels
pub scale_factor_override: Option<f64>,
pub title: String,
#[doc(alias = "vsync")]
Expand Down

0 comments on commit cb5e626

Please sign in to comment.