pub struct FilterConfigData<T: Copy + 'static> {
pub name: String,
pub value: Option<NonNull<T>>,
pub default_value: T,
}Available on crate feature
filter only.Expand description
Fields§
§name: String設定名。
value: Option<NonNull<T>>設定値。
default_value: Tデフォルト値。
Implementations§
Source§impl<T: Copy + 'static> FilterConfigData<T>
impl<T: Copy + 'static> FilterConfigData<T>
Sourcepub fn erase_type(&self) -> ErasedFilterConfigData
pub fn erase_type(&self) -> ErasedFilterConfigData
Trait Implementations§
Source§impl<T: Clone + Copy + 'static> Clone for FilterConfigData<T>
impl<T: Clone + Copy + 'static> Clone for FilterConfigData<T>
Source§fn clone(&self) -> FilterConfigData<T>
fn clone(&self) -> FilterConfigData<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Copy + 'static> From<FilterConfigData<T>> for ErasedFilterConfigData
impl<T: Copy + 'static> From<FilterConfigData<T>> for ErasedFilterConfigData
Source§fn from(value: FilterConfigData<T>) -> Self
fn from(value: FilterConfigData<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for FilterConfigData<T>where
T: Freeze,
impl<T> RefUnwindSafe for FilterConfigData<T>where
T: RefUnwindSafe,
impl<T> !Send for FilterConfigData<T>
impl<T> !Sync for FilterConfigData<T>
impl<T> Unpin for FilterConfigData<T>where
T: Unpin,
impl<T> UnwindSafe for FilterConfigData<T>where
T: UnwindSafe + RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more