1 2 3 4 5 6 7 8 9 10 11 12 13 14
use super::Internal; use crate::{fill::Fill, ValueBag}; impl<'v> ValueBag<'v> { /// Get a value from a fillable slot. pub const fn from_fill<T>(value: &'v T) -> Self where T: Fill, { ValueBag { inner: Internal::Fill(value), } } }