pub enum BtValue {
Bool(bool),
Int(i64),
Float(f32),
Vec2(Vec2),
Vec3(Vec3),
Text(String),
}Expand description
Typed value stored inside a BehaviorTree Blackboard.
Variants§
Bool(bool)
Boolean flag value.
Int(i64)
Signed 64-bit integer value.
Float(f32)
32-bit floating-point scalar value.
Vec2(Vec2)
2D spatial vector value.
Vec3(Vec3)
3D spatial vector value.
Text(String)
Owned UTF-8 text value.
Trait Implementations§
impl StructuralPartialEq for BtValue
Auto Trait Implementations§
impl Forget for BtValue
impl Freeze for BtValue
impl Move for BtValue
impl RefUnwindSafe for BtValue
impl Send for BtValuewhere
RawVecInner: Send,
impl Sync for BtValuewhere
RawVecInner: Sync,
impl Unpin for BtValue
impl UnsafeUnpin for BtValue
impl UnwindSafe for BtValuewhere
RawVecInner: UnwindSafe,
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