pub fn into_version(slate: Slate, version: SlateVersion) -> VersionedSlate {
		match version {
			SlateVersion::V2 => VersionedSlate::V2(slate.into()),
			SlateVersion::V1 => {
				let s = SlateV2::from(slate);
				let s = SlateV1::from(s);
				VersionedSlate::V1(s)
			}
			SlateVersion::V0 => {
				let s = SlateV2::from(slate);
				let s = SlateV1::from(s);
				let s = SlateV0::from(s);
				VersionedSlate::V0(s)
			}
		}
	}
/// convert this slate type to a specified older version
convert this slate type to a specified older version
convert this slate type to a specified older version
pub fn into_version(slate: Slate, version: SlateVersion) -> VersionedSlate {
		match version {
			SlateVersion::V2 => VersionedSlate::V2(slate.into()),
			SlateVersion::V1 => {
				let s = SlateV2::from(slate);
				let s = SlateV1::from(s);
				VersionedSlate::V1(s)
			}
			SlateVersion::V0 => {
				let s = SlateV2::from(slate);
				let s = SlateV1::from(s);
				let s = SlateV0::from(s);
				VersionedSlate::V0(s)
			}
		}
	}
pub fn into_version ( slate : Slate , version : SlateVersion ) -> VersionedSlate { match version { SlateVersion :: V2 => VersionedSlate :: V2 ( slate . into ( ) ) , SlateVersion :: V1 => { let s = SlateV2 :: from ( slate ) ; let s = SlateV1 :: from ( s ) ; VersionedSlate :: V1 ( s ) } SlateVersion :: V0 => { let s = SlateV2 :: from ( slate ) ; let s = SlateV1 :: from ( s ) ; let s = SlateV0 :: from ( s ) ; VersionedSlate :: V0 ( s ) } } }
convert this slate type to a specified older version
convert this slate type to a specified older version
slate
Slate
version
SlateVersion