oxilean-std 0.1.2

OxiLean standard library
Documentation
//! # BoolReflect - Trait Implementations
//!
//! This module contains trait implementations for `BoolReflect`.
//!
//! ## Implemented Traits
//!
//! - `From`
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::types::BoolReflect;

impl From<bool> for BoolReflect {
    fn from(b: bool) -> Self {
        if b {
            BoolReflect::IsTrue
        } else {
            BoolReflect::IsFalse
        }
    }
}