pub struct ContainerSettingsBuilder { /* private fields */ }展开描述
用于配置容器设置的构建器。
实现§
源代码§impl ContainerSettingsBuilder
impl ContainerSettingsBuilder
源代码pub const fn new() -> Self
pub const fn new() -> Self
构造一个新的 ContainerSettingsBuilder。
源代码pub const fn sub_type(self, sub_type: ContainerSettingsSubType) -> Self
pub const fn sub_type(self, sub_type: ContainerSettingsSubType) -> Self
设置容器子类型(例如 ContainerSettingsSubType::MPEG4)。
Trait 实现§
自动 Trait 实现§
impl Freeze for ContainerSettingsBuilder
impl RefUnwindSafe for ContainerSettingsBuilder
impl Send for ContainerSettingsBuilder
impl Sync for ContainerSettingsBuilder
impl Unpin for ContainerSettingsBuilder
impl UnsafeUnpin for ContainerSettingsBuilder
impl UnwindSafe for ContainerSettingsBuilder
通用实现§
源代码§impl<T> IntoEither for T
impl<T> IntoEither for T
源代码§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left is true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多源代码§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left(&self) returns true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多