pub struct RESOURCES;Expand description
The RESOURCES property marker.
Trait Implementations§
Source§impl IcalPropLens for RESOURCES
Available on crate feature parser only.
impl IcalPropLens for RESOURCES
Available on crate feature
parser only.Source§type Target<'v> = IcalTextList<'v>
type Target<'v> = IcalTextList<'v>
The decoded value type, borrowing the syntax node for reads. Its
Codec impl is what the default decode delegates to.Source§type Cursor<'c, 'a> = IcalValueCursor<'c, 'a>
where
'a: 'c
type Cursor<'c, 'a> = IcalValueCursor<'c, 'a> where 'a: 'c
The typed edit cursor over a content line.
Source§fn cursor<'c, 'a>(line: &'c mut IcalLine<'a>) -> IcalValueCursor<'c, 'a>
fn cursor<'c, 'a>(line: &'c mut IcalLine<'a>) -> IcalValueCursor<'c, 'a>
Wrap a content line in the typed cursor for in-place editing.
Source§fn decode<'v>(line: &'v IcalLine<'_>, _version: IcalVersion) -> Self::Target<'v>
fn decode<'v>(line: &'v IcalLine<'_>, _version: IcalVersion) -> Self::Target<'v>
Project a content line onto the decoded type, consulting the calendar
version where the value’s shape is version-specific (
GEO, the binary
props). The default ignores the version and decodes the value node
through the target’s Codec; the version-specific lenses override it.Source§impl IcalPropSpec for RESOURCES
impl IcalPropSpec for RESOURCES
Source§fn value(
_version: IcalVersion,
_declared: Option<IcalValueKind>,
) -> IcalValueKind
fn value( _version: IcalVersion, _declared: Option<IcalValueKind>, ) -> IcalValueKind
A list whatever VALUE declares: TEXT describes each item, not the
value as a whole.
Source§const KIND: IcalPropKind = IcalPropKind::Resources
const KIND: IcalPropKind = IcalPropKind::Resources
The property this spec describes.
Source§fn allowed_values(_version: IcalVersion) -> &'static [IcalValueKind]
fn allowed_values(_version: IcalVersion) -> &'static [IcalValueKind]
The value-types the property may take, default-first, for the version.
Index 0 is the type used when no
VALUE is declared.Source§fn allowed_versions() -> &'static [IcalVersion]
fn allowed_versions() -> &'static [IcalVersion]
The versions in which the property is defined (the existence axis).
Source§fn cardinality(_version: IcalVersion) -> IcalPropCardinality
fn cardinality(_version: IcalVersion) -> IcalPropCardinality
How many times the property may appear in its component, in the given
version. Most are repeatable; the single-valued ones override this.
Source§fn allowed_params(_version: IcalVersion) -> &'static [IcalParamKind]
fn allowed_params(_version: IcalVersion) -> &'static [IcalParamKind]
The parameters the property may carry, in the given version.
Auto Trait Implementations§
impl Freeze for RESOURCES
impl RefUnwindSafe for RESOURCES
impl Send for RESOURCES
impl Sync for RESOURCES
impl Unpin for RESOURCES
impl UnsafeUnpin for RESOURCES
impl UnwindSafe for RESOURCES
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