Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impl From<String> and From<&str> for TextSection #8856

Merged
merged 10 commits into from
Sep 11, 2023

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    1f56e2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18e44f0 View commit details
    Browse the repository at this point in the history
  3. cargo fmt

    ickshonpe committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    59f6631 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    07e410f View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    51ce1ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b77605 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'textsection-from' of https://github.com/ickshonpe/bevy

    …into textsection-from
    ickshonpe committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    7e9eb4f View commit details
    Browse the repository at this point in the history
  4. cargo fmt

    ickshonpe committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    3d511b0 View commit details
    Browse the repository at this point in the history
  5. Adds:

    ```
    impl <I> From<I> for TextBundle where I: Into<TextSection> {
        fn from(value: I) -> Self {
            Self::from_sections(vec![value.into()])
        }
    }
    ```
    
    Which allows ```TextBundle::from("some text")``` when default fonts are enabled.
    ickshonpe committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    26e191e View commit details
    Browse the repository at this point in the history
  6. cargo fmt

    ickshonpe committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    ab3c539 View commit details
    Browse the repository at this point in the history